diff options
Diffstat (limited to 'src/webidl-parser.y')
-rw-r--r-- | src/webidl-parser.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/webidl-parser.y b/src/webidl-parser.y index 55ab221..9324212 100644 --- a/src/webidl-parser.y +++ b/src/webidl-parser.y @@ -35,7 +35,10 @@ webidl_error(YYLTYPE *locp, struct webidl_node **winbind_ast, const char *str) %} %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 webidl_node **webidl_ast } |