* 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.
This commit is contained in:
Akim Demaille
2001-11-12 09:31:40 +00:00
parent e4d3d4de4c
commit 0df87bb609
7 changed files with 185 additions and 78 deletions
+1
View File
@@ -25,6 +25,7 @@ Piotr Gackiewicz [email protected]
Richard Stallman [email protected]
Robert Anisko [email protected]
Shura [email protected]
Tom Lane [email protected]
Wwp [email protected]
Many people are not named here because we lost track of them. We