explicity state errors are errors rather than leaving it implicit (tracking

gcc's messages again;)
This commit is contained in:
Bill Currie 2005-08-17 23:05:10 +00:00
parent 6705140f76
commit 728dde167d

View file

@ -2850,7 +2850,7 @@ error (expr_t *e, const char *fmt, ...)
file = e->file;
line = e->line;
}
fprintf (stderr, "%s:%d: ", G_GETSTR (file), line);
fprintf (stderr, "%s:%d: error: ", G_GETSTR (file), line);
vfprintf (stderr, fmt, args);
fputs ("\n", stderr);
va_end (args);