fix in error reporting
This commit is contained in:
parent
6db64e924c
commit
45c7ab1938
|
@ -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…
Reference in a new issue