mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.11.0t7.2
This commit is contained in:
4
token.c
4
token.c
@@ -643,6 +643,10 @@ scanerror(int skip, char *fmt, ...)
|
||||
va_end(ap);
|
||||
fprintf(stderr, "%s\n", buf);
|
||||
|
||||
/* bail out if continuation not permitted */
|
||||
if ((!c_flag && !stoponerror) || stoponerror > 0)
|
||||
longjmp(jmpbuf, 1);
|
||||
|
||||
/* bail out if too many errors */
|
||||
if (conf->maxscancount > 0 && errorcount > conf->maxscancount) {
|
||||
fputs("Too many scan errors, compilation aborted.\n", stderr);
|
||||
|
Reference in New Issue
Block a user