* 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:15:25 +00:00
parent b6cac93afa
commit 5f1ff7cd74
7 changed files with 184 additions and 77 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