ocamlyacc: output verbose file before failing on --strict.
parent
17cc980be3
commit
318d9c9b41
|
@ -462,6 +462,7 @@ int main(int argc, char **argv)
|
|||
lalr();
|
||||
make_parser();
|
||||
verbose();
|
||||
if (eflag && SRtotal + RRtotal > 0) forbidden_conflicts();
|
||||
output();
|
||||
done(0);
|
||||
/*NOTREACHED*/
|
||||
|
|
|
@ -47,11 +47,7 @@ void make_parser(void)
|
|||
find_final_state();
|
||||
remove_conflicts();
|
||||
unused_rules();
|
||||
if (SRtotal + RRtotal > 0) {
|
||||
total_conflicts();
|
||||
if (eflag)
|
||||
forbidden_conflicts();
|
||||
}
|
||||
if (SRtotal + RRtotal > 0) total_conflicts();
|
||||
defreds();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue