Lines Matching refs:reduced

268 # Check that the automaton is that as the for the grammar reduced by
275 # The non reduced grammar.
277 AT_DATA([[not-reduced.y]],
283 %output "not-reduced.c"
300 AT_BISON_CHECK([[-fcaret not-reduced.y]], 0, [],
301 [[not-reduced.y: warning: 2 nonterminals useless in grammar
302 not-reduced.y: warning: 3 rules useless in grammar
303 not-reduced.y:14.1-13: warning: nonterminal useless in grammar: not_reachable
306 not-reduced.y:11.6-19: warning: nonterminal useless in grammar: non_productive
309 not-reduced.y:11.6-57: warning: rule useless in grammar
312 not-reduced.y:14.16-56: warning: rule useless in grammar
315 not-reduced.y:17.17-18.63: warning: rule useless in grammar
320 AT_BISON_CHECK([[not-reduced.y]], 0, [],
321 [[not-reduced.y: warning: 2 nonterminals useless in grammar
322 not-reduced.y: warning: 3 rules useless in grammar
323 not-reduced.y:14.1-13: warning: nonterminal useless in grammar: not_reachable
324 not-reduced.y:11.6-19: warning: nonterminal useless in grammar: non_productive
325 not-reduced.y:11.6-57: warning: rule useless in grammar: exp: non_productive
326 not-reduced.y:14.16-56: warning: rule useless in grammar: not_reachable: useful
327 not-reduced.y:17.17-18.63: warning: rule useless in grammar: non_productive: non_productive useless…
330 AT_CHECK([[sed -n '/^Grammar/q;/^$/!p' not-reduced.output]], 0,
342 # The reduced grammar.
344 AT_DATA([[reduced.y]],
350 %output "reduced.c"
367 AT_BISON_CHECK([[reduced.y]])
370 cp reduced.c expout
371 AT_CHECK([sed 's/not-reduced/reduced/g' not-reduced.c], 0, [expout])