Show yyerror() parse errors on stderr on startup.
Noticed by: spb
This commit is contained in:
parent
e3c9ea195e
commit
beccbe318c
1 changed files with 1 additions and 1 deletions
|
@ -1523,10 +1523,10 @@ yyerror(const char *msg)
|
|||
|
||||
strip_tabs(newlinebuf, linebuf, strlen(linebuf));
|
||||
|
||||
ierror("\"%s\", line %d: %s at '%s'", conffilebuf, lineno + 1, msg, newlinebuf);
|
||||
sendto_realops_snomask(SNO_GENERAL, L_ALL, "\"%s\", line %d: %s at '%s'",
|
||||
conffilebuf, lineno + 1, msg, newlinebuf);
|
||||
|
||||
ilog(L_MAIN, "\"%s\", line %d: %s at '%s'", conffilebuf, lineno + 1, msg, newlinebuf);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue