]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
intl: Support older Bison versions
authorDaiki Ueno <ueno@gnu.org>
Thu, 24 Apr 2014 02:46:58 +0000 (11:46 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 24 Apr 2014 02:46:58 +0000 (11:46 +0900)
* gettext-runtime/intl/plural.y: Use %lex-param / %parse-param instead
of %param, which is only available in Bison 3.0.1 or later.

gettext-runtime/intl/plural.y

index 673567e26357e86812d9c2465be4b6020e21e30c..c19634efd57e9c3872e02104787f3f5017617700 100644 (file)
@@ -41,7 +41,8 @@
 #endif
 
 %}
-%param {struct parse_args *arg}
+%parse-param {struct parse_args *arg}
+%lex-param {struct parse_args *arg}
 %define api.pure full
 %expect 7