(reader): Just return if a complaint has been issued,

instead of exiting, so that 'main' can report times.
This commit is contained in:
Paul Eggert
2002-10-23 18:41:04 +00:00
parent 27b0ffea3e
commit f956c304c5

View File

@@ -508,7 +508,7 @@ reader (void)
/* If something went wrong during the parsing, don't try to
continue. */
if (complaint_issued)
exit (EXIT_FAILURE);
return;
/* Grammar has been read. Do some checking */
if (nrules == 0)