summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-09-30 14:23:58 +0200
committerRan Benita <ran234@gmail.com>2012-09-30 14:29:49 +0200
commit471ebad62311e6a36936bed7e04aa634d385d661 (patch)
treee8eec64863425c0a2b6386744a4803d1548994cb
parent22684cd1dd1fd651803f27f3595e02d16b5df0e8 (diff)
downloadlibxkbcommon-471ebad62311e6a36936bed7e04aa634d385d661.tar.gz
libxkbcommon-471ebad62311e6a36936bed7e04aa634d385d661.tar.bz2
libxkbcommon-471ebad62311e6a36936bed7e04aa634d385d661.zip
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>
-rw-r--r--src/xkbcomp/scanner.l3
1 files changed, 0 insertions, 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