fix in error reporting
This commit is contained in:
parent
b2a4e589a0
commit
5773db5e96
@ -20,7 +20,10 @@ int err_occurred;
|
||||
err_hdr(s)
|
||||
char *s;
|
||||
{
|
||||
fprint(ERROUT, "\"%s\", line %d: %s", FileName, LineNumber, s);
|
||||
if (FileName) {
|
||||
fprint(ERROUT, "\"%s\", line %d: %s", FileName, LineNumber, s);
|
||||
}
|
||||
else fprint(ERROUT, s);
|
||||
}
|
||||
|
||||
/*VARARGS1*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user