Lines Matching full:reduce
383 * tests/reduce.at (%define lr.default-reductions): Update.
461 * tests/reduce.at (%define lr.default-reductions): Update.
972 (Shift/Reduce): Likewise.
983 * src/reduce.c (reduce_print): Use warn so that the "warnings
1076 * src/reader.h, src/reduce.c, src/reduce.h, src/relation.c:
1087 * tests/output.at, tests/push.at, tests/reduce.at:
1956 * tests/reduce.at: Likewise.
1972 * tests/reduce.at (AT_TEST_LR_TYPE): Likewise.
2641 * tests/reduce.at: Update uses.
2660 * tests/reduce.at (AT_TEST_LR_DEFAULT_REDUCTIONS): Here.
2744 * tests/reduce.at (AT_TEST_LR_DEFAULT_RULES): Rename to...
2828 * tests/reduce.at (AT_TEST_LR_TYPE): New macro that exercises
2868 * tests/reduce.at (AT_TEST_LR_DEFAULT_RULES): New macro using
3507 (m4_mapall_sep, _m4_list_cmp, m4_version_compare): Reduce side
3510 (_m4_list_cmp): Reduce side effects.
3651 * src/reduce.c: Here.
3652 * tests/reduce.at: Here.
3697 * src/reduce.c (reduce_print): Report the number of nonterminals and
3699 * tests/reduce.at (Useless Rules): Update output.
4047 * tests/reduce.at: Likewise.
4143 * src/reduce.c (reduce_output): Use reduce_token_unused_in_grammar.
4147 * src/reduce.h (reduce_xml): Remove prototype.
4152 * tests/reduce.at (Useless Terminals): Update output.
4159 * src/reduce.c (reduce_output): Implement.
4223 * src/reduce.c (reduce_grammar_tables): Say "rule useless in grammar".
4237 * tests/reduce.at (Useless Nonterminals): Likewise.
4594 * src/reduce.c (reduce_xml): XML-escape terminal symbol tags.
4707 * src/reduce.c: Include print-xml.h.
4709 * src/reduce.h: Declare it.
4811 * src/print_graph.h, src/reader.c, src/reader.h, src/reduce.c:
4812 * src/reduce.h, src/relation.c, src/relation.h:
4823 * tests/reduce.at, tests/regression.at, tests/sets.at:
6488 * tests/reduce.at (Useless Terminals, Useless Nonterminals,
8235 * tests/conflicts.at, tests/input.at, tests/reduce.at,
9171 * src/reduce.c (reduce_grammar): Remove unnecessary cast to bool.
9452 * src/reduce.c: Likewise.
9530 (%expect with reduce conflicts): Adjust to new behavior.
9785 * src/reduce.c (reduce_print): Likewise.
9823 * src/reduce.c (reduce_print): Likewise.
10974 src/print_graph.h, src/reader.c, src/reader.h, src/reduce.c,
10975 src/reduce.h, src/relation.c, src/relation.h, src/scan-gram.l,
10983 tests/reduce.at, tests/regression.at, tests/sets.at,
11557 * src/reduce.c (nonterminals_reduce): Likewise for nontermmap.
13471 * src/reduce.c (reduce_grammar_tables): Likewise.
13607 %expect with reduce conflicts): Likewise.
13719 %expect with reduce conflicts): Switch to Yacc-style conflict reports.
13726 * src/reduce.c (reduce_print): Likewise.
13759 "%expect N", report an error if there are any reduce/reduce
13762 * tests/conflicts.at (%expect with reduce conflicts): New test.
13935 * src/reduce.c (reduce_grammar_tables): Likewise, for nontermmap
14233 * src/reduce.c (nonterminals_reduce): Use warn_at rather than
14270 * tests/reduce.at (Useless Rules, Reduced Automaton,
14785 * src/reduce.c (reduce_print): Likewise.
16225 * tests/conflicts.at, tests/reduce.at: Adjust.
16371 without any action (no shift or goto, no reduce).
16373 parsers now contain `reduce 0' as default reduction.
16375 final_state, they still will not reduce rule 0.
16413 * src/reduce.c (reduce_grammar): When the language is empty,
16416 * tests/reduce.at (Empty Language): New.
16442 * src/reduce.c: Allocate and free from &rules[0], not &rules[1].
16449 shift and reduce.
16763 * src/print_graph.c, src/reader.c, src/reduce.c, src/reduce.h:
17246 * src/reduce.c (reduce_output): Use it.
17247 * tests/reduce.at (Useless Rules, Reduced Automaton)
17269 * src/reduce.c (nonterminals_reduce): Report the use nonterminals.
17273 * tests/reduce.at (Useless Nonterminals, Useless Rules):
17483 * tests/reduce.at (Reduced Automaton): End the grammars with %% so
17700 * src/reader.c, src/reduce.c, src/state.h, src/symtab.h
17745 do not reduce further before shifting the error token.
17790 * src/reduce.c (nonterminals_reduce): Don't loop over RITEM: loop
18063 * src/reduce.c (dump_grammar): Move to...
18103 * src/print_graph.c, src/reader.c, src/reduce.c, src/state.h,
18182 * src/reduce.c (rule): Remove this `short *' pointer: use
18205 * src/reduce.c (reduce_grammar): First reduce the nonterminals,
18250 * src/reader.c, src/reader.h, src/reduce.c, src/state.h,
18274 * src/reduce.c (inaccessable_symbols): Just use hard coded numbers
18298 * src/reduce.c, src/conflicts.c: Adjust.
18302 * src/lalr.c, src/LR0.c, src/closure.c, src/gram.c, src/reduce.c:
18320 * src/reduce.c (reduce_grammar_tables): Renumber rule_t.number.
18327 * src/reduce.c (reduce_grammar_tables): Don't sort RITEM.
18379 * src/reduce.c (nonterminals_reduce): Don't forget to renumber the
18392 * src/reduce.c (reduce_grammar_tables): Move the useless rules at
18397 * tests/reduce.at (Reduced Automaton): New test.
18401 * src/reduce.c (inaccessable_symbols): Fix a buglet: because of a
18413 * src/closure.c, src/print.c, src/reader.c, src/reduce.c:
18429 * src/reader.c, src/reduce.c: Let rule_t.rhs point directly to the
18567 * src/reduce.c (inaccessable_symbols): Ditto.
18574 * src/reduce.c: Remove the `bitset_zero's following the
18603 * src/reduce.c (useless_nonterminals): Formatting changes.
18644 * src/reduce.c: Convert to use bitset.h, not hand coded BSet.
19046 * src/parse-skel.y: Get rid of the shift/reduce conflict:
19229 * src/print_graph.c, src/reader.c, src/reduce.c: Rename rule_table
19259 * src/reduce.c (reduce_grammar): Adjust: just sort symbols, a
19330 * src/reduce.c (dump_grammar, useful_production, reduce_output)
19343 * src/reduce.c (nonterminals_reduce): Likewise.
19388 * src/reduce.c: Likewise.
20098 * src/reduce.c (reduce_grammar_tables): No longer disable the
20276 * src/reduce.c, src/reduce.h (nuseless_nonterminals): No longer
20303 * src/reduce.c (dump_grammar): Use it to trace the construction of
20382 * tests/reduce.at (Useless Nonterminals): Fix.
20398 * src/reduce.c (reduce_grammar_tables): Likewise.
20399 * tests/reduce
20403 * src/reduce.c (reduce_output): Formatting changes.
20410 * src/reduce.c (nonterminals_reduce): Instead of throwing away
20413 * tests/reduce.at (Useless Nonterminals): Adjust.
20417 * src/reduce.c: Various comment/formatting changes.
20512 * src/reduce.c (reduce_print): Use ngettext.
20517 * src/reduce.c (dump_grammar): Don't translate trace messages.
20521 * tests/reduce.at (Useless Terminals, Useless Nonterminals): New.
20522 * src/reduce.c (reduce_grammar_tables): Do not free useless tags,
20613 there are no reduce/reduce conflicts, and as many shift/reduce
20722 * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE.
20738 * src/reduce.c: (inaccessable_symbols): Using if is better style
20792 * src/conflicts.c, src/reader.c, src/reduce.c: Adjust.
20801 * src/reader.c, src/reduce.c: Adjust.
20886 * src/print.c: Include reduce.h.
20944 * src/reduce.c (print_results): Rename as...
21322 * src/reduce.c (useless_nonterminals, inaccessable_symbols):
22036 and no action states in the VCG graph. It also give the reduce actions.
22662 * src/derives.c, src/print.c, src/reduce.c: To ease the
22839 * src/reduce.h: New file.
22841 * src/reduce.c: Topological sort and other formatting changes.
23438 * src/gram.h, src/lalr.c, src/lex.c, src/lex.h, src/machine.h, src/main.c, src/nullable.c, src/output.c, src/print.c, src/reader.c, src/reduce.c, src/state.h, src/symtab.c, src/symtab.h, src/types.h, src/vmsgetargs.c, src/warshall.c, src/allocate.c, src/alloc.h, src/bison.s1, src/closure.c, src/conflicts.c, src/derives.c, src/files.c, src/files.h, src/getargs.c, src/gram.c, src/LR0.c:
23466 * src/allocate.c, src/alloc.h, src/closure.c, src/conflicts.c, src/derives.c, src/getargs.c, src/gram.c, src/lalr.c, src/lex.c, src/LR0.c, src/main.c, src/nullable.c, src/output.c, src/print.c, src/reduce.c, src/symtab.c, src/symtab.h, src/warshall.c:
23606 * src/LR0.c, src/closure.c, src/conflicts.c, src/derives.c, src/files.c, src/lalr.c, src/lex.c, src/nullable.c, src/output.c, src/print.c, src/reader.c, src/reduce.c, src/symtab.c:
23709 * src/reduce.c (nbits): Add some casts.
23743 * src/reduce.c, src/reader.c, src/print.c, src/output.c, src/nullable.c, src/lex.c, src/lalr.c, src/getargs.c, src/derives.c, src/conflicts.c, src/closure.c, src/allocate.c:
23859 * src/reduce.c (reduce_grammar):
24020 * src/reduce.c, src/reader.c: