the error() routine did not set err_occurred!
This commit is contained in:
parent
c2a260ba68
commit
142a703f77
2 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,6 @@
|
|||
extern char *symbol2str();
|
||||
|
||||
LLmessage(tk) {
|
||||
err_occurred = 1;
|
||||
if (tk < 0)
|
||||
error("garbage at end of line");
|
||||
else if (tk) {
|
||||
|
|
|
@ -35,6 +35,7 @@ error(va_alist)
|
|||
va_list ap;
|
||||
|
||||
err_hdr("");
|
||||
err_occurred = 1;
|
||||
va_start(ap);
|
||||
fmt = va_arg(ap, char *);
|
||||
doprnt(ERROUT, fmt, ap);
|
||||
|
|
Loading…
Reference in a new issue