Akim Demaille
|
92b16366dd
|
* src/conflicts.c (err_table): Remove.
(resolve_sr_conflict): Adjust.
* src/lalr.h (state_t.reduction_table, state_t.shift_table):
Rename as...
(state_t.reductions, state_t.shifts): this.
|
2001-12-05 09:44:26 +00:00 |
|
Akim Demaille
|
c73a41af8e
|
* src/conflicts.c (print_reductions): Accept OUT as argument.
Output to it, not to output_obstack.
* src/print.c (print_actions): Adjust.
|
2001-11-12 09:32:35 +00:00 |
|
Akim Demaille
|
0df87bb609
|
* src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return
the result instead of using...
(src_total, rrc_total, src_count, rrc_count): Remove.
(any_conflicts): Remove.
(print_conflicts): Split into...
(conflicts_print, conflicts_output): New.
* src/conflicts.h: Adjust.
* src/main.c (main): Invoke both conflicts_output and conflicts_print.
* src/print.c (print_grammar): Issue `n' between to rule outputs.
* tests/regression.at (Conflicts): New.
Reported by Tom Lane.
|
2001-11-12 09:31:40 +00:00 |
|
Akim Demaille
|
342b8b6e21
|
Merge in branch-1_29.
|
2001-10-04 14:55:21 +00:00 |
|
Akim Demaille
|
aa7815f5c6
|
* src: s/Copyright (C)/Copyright/g.
|
2000-11-07 16:28:47 +00:00 |
|
Akim Demaille
|
340ef48922
|
Various anti-`extern in *.c' changes.
* src/system.h: Include `assert.h'.
|
2000-10-02 08:35:47 +00:00 |
|
Akim Demaille
|
0619caf0b1
|
* src/conflicts.c (conflict_report): New function.
(conflict_log, verbose_conflict_log): Replace with...
(print_conflicts): this function.
Adjust dependencies.
* src/conflicts.h: New file.
Propagate its inclusion.
|
2000-10-02 08:08:52 +00:00 |
|