summaryrefslogtreecommitdiff
path: root/src/nsgenbind-parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsgenbind-parser.y')
-rw-r--r--src/nsgenbind-parser.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nsgenbind-parser.y b/src/nsgenbind-parser.y
index 472e655..46bc4f3 100644
--- a/src/nsgenbind-parser.y
+++ b/src/nsgenbind-parser.y
@@ -28,7 +28,10 @@ char *errtxt;
%}
%locations
-%define api.pure
+ /* bison prior to 2.4 cannot cope with %define api.pure so we use the
+ * deprecated directive
+ */
+%pure-parser
%error-verbose
%parse-param { struct genbind_node **genbind_ast }