We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17cc980 commit 318d9c9Copy full SHA for 318d9c9
yacc/main.c
@@ -462,6 +462,7 @@ int main(int argc, char **argv)
462
lalr();
463
make_parser();
464
verbose();
465
+ if (eflag && SRtotal + RRtotal > 0) forbidden_conflicts();
466
output();
467
done(0);
468
/*NOTREACHED*/
yacc/mkpar.c
@@ -47,11 +47,7 @@ void make_parser(void)
47
find_final_state();
48
remove_conflicts();
49
unused_rules();
50
- if (SRtotal + RRtotal > 0) {
51
- total_conflicts();
52
- if (eflag)
53
- forbidden_conflicts();
54
- }
+ if (SRtotal + RRtotal > 0) total_conflicts();
55
defreds();
56
}
57
0 commit comments