Replace yyscan_t with another pointer type that we control.
This prevents the circuluar dependency between parser.gen.h and lexer.gen.h. Newer versions of bison add a prototype for yyparse() to parser.gen.h that include the as-yet-undeclared yyscan_t type.
This commit is contained in:
1 parent
45b6fc8148
commit
e40778727b
2 files changed
+23
-16