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:
e4c00e9
)
parser: use %pure-parser instead of %define api.pure
author
Ran Benita
<ran234@gmail.com>
Sat, 28 Sep 2013 21:22:20 +0000
(
00:22
+0300)
committer
Ran Benita
<ran234@gmail.com>
Sat, 28 Sep 2013 21:22:20 +0000
(
00:22
+0300)
Both bison and byacc support this syntax. Bison manpage says something
about this giving more or less options, but we don't care.
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/parser.y
patch
|
blob
|
history
diff --git
a/src/xkbcomp/parser.y
b/src/xkbcomp/parser.y
index
8618e36
..
1d7f827
100644
(file)
--- a/
src/xkbcomp/parser.y
+++ b/
src/xkbcomp/parser.y
@@
-46,7
+46,7
@@
_xkbcommon_error(struct YYLTYPE *loc, struct parser_param *param, const char *ms
%}
%name-prefix "_xkbcommon_"
-%
define api.pure
+%
pure-parser
%locations
%lex-param { struct scanner *scanner }
%parse-param { struct parser_param *param }