Browse Source

egg: Keep compatibility with Bison 2.3 (for macOS)

rdb 5 years ago
parent
commit
0c94f98c84
1 changed files with 2 additions and 3 deletions
  1. 2 3
      panda/src/egg/parser.yxx

+ 2 - 3
panda/src/egg/parser.yxx

@@ -4,10 +4,9 @@
  * @date 1999-01-16
  */
 
-%define api.pure full
+%pure-parser
 %locations
-%parse-param {EggParserState &state}
-%parse-param {yyscan_t scanner}
+%parse-param {EggParserState &state} {yyscan_t scanner}
 %lex-param {yyscan_t scanner}
 
 %{