scanner: remove uselss 'last symbol' error message
It never shows something useful. Besides, you already get the line number, which is enough. Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
22684cd1dd
commit
471ebad623
|
@ -211,9 +211,6 @@ scanner_error_extra(struct YYLTYPE *loc, struct scanner_extra *extra,
|
|||
log_err(extra->ctx, "%s: line %d of %s\n", msg,
|
||||
loc->first_line,
|
||||
extra->scanFile ? extra->scanFile : "(unknown)");
|
||||
|
||||
log_err(extra->ctx, "last scanned symbol was: %s\n",
|
||||
extra->scanBuf);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue