]> granicus.if.org Git - jq/commit
Replace yyscan_t with another pointer type that we control.
authorDamian Gryski <damian@gryski.com>
Wed, 24 Oct 2012 07:28:27 +0000 (09:28 +0200)
committerDamian Gryski <damian@gryski.com>
Wed, 24 Oct 2012 07:28:27 +0000 (09:28 +0200)
commite40778727b6bb0b9c714d0426abcdcd67896fc52
tree989d63d0327aafe180f23cf8003f4670b2220f7c
parent45b6fc81481677e3b3b716871f4f9fe3d311590e
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.
lexer.l
parser.y