projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22684cd
)
scanner: remove uselss 'last symbol' error message
author
Ran Benita
<ran234@gmail.com>
Sun, 30 Sep 2012 12:23:58 +0000
(14:23 +0200)
committer
Ran Benita
<ran234@gmail.com>
Sun, 30 Sep 2012 12:29:49 +0000
(14:29 +0200)
It never shows something useful. Besides, you already get the line
number, which is enough.
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/scanner.l
patch
|
blob
|
history
diff --git
a/src/xkbcomp/scanner.l
b/src/xkbcomp/scanner.l
index
3bac32a
..
6fa3cb3
100644
(file)
--- 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