stop processing files after errors have occured

This commit is contained in:
Bill Currie 2001-06-28 23:08:52 +00:00
parent 6dfee9968b
commit 9c2398d923

View file

@ -917,7 +917,7 @@ Options: \n\
s_file = ReuseString (filename);
pr_source_line = 1;
clear_frame_macros ();
if (yyparse ())
if (yyparse () || pr_error_count)
return 1;
fclose (yyin);
#else