Commit cfd7e7c1608820008ca636adefbacc1b28149e00

Ran Benita 2013-09-29T00:22:20

parser: use %pure-parser instead of %define api.pure 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>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/xkbcomp/parser.y b/src/xkbcomp/parser.y
index 8618e36..1d7f827 100644
--- 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 }