replace deprecated yacc directives
bison 3.4.2 complains when encountering '%pure-parser': "warning: deprecated directive, use ‘%define api.pure’" A quick google suggests this option has been around since at least 2012, maybe longer, so probably safe to replace. Signed-off-by: Nicholas Sielicki <sielicki@yandex.com>
This commit is contained in:
parent
8a85d62ec7
commit
031caca8ca
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
%pure-parser
|
||||
%define api.pure
|
||||
%parse-param {const char*file_path}
|
||||
|
||||
%{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
%pure-parser
|
||||
%define api.pure
|
||||
%lex-param { yyscan_t yyscanner }
|
||||
%parse-param {yyscan_t yyscanner }
|
||||
%parse-param {const char*file_path}
|
||||
|
|
|
|||
Loading…
Reference in New Issue