From 471ebad62311e6a36936bed7e04aa634d385d661 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 30 Sep 2012 14:23:58 +0200 Subject: [PATCH] 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 --- src/xkbcomp/scanner.l | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/xkbcomp/scanner.l b/src/xkbcomp/scanner.l index 3bac32a..6fa3cb3 100644 --- a/src/xkbcomp/scanner.l +++ b/src/xkbcomp/scanner.l @@ -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