X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e2a21b6f0c975927445a04a86488956af3351681..e4f0316ae096a728e62032fa33bc6c42cf4b6455:/tests/cxx-type.at diff --git a/tests/cxx-type.at b/tests/cxx-type.at index 71c71066..b716a1d4 100644 --- a/tests/cxx-type.at +++ b/tests/cxx-type.at @@ -98,7 +98,7 @@ prog : @2.first_line, @2.first_column, @2.last_line, @2.last_column);])[ output = node_to_string (]$[2); - printf ("%s\n", output); + printf ("%s\n", output); free (output); free_node (]$[2); } @@ -155,7 +155,9 @@ yylex (LEX_PARAMETERS) static int colNum = 0; #if YYPURE +# undef yylloc # define yylloc (*llocp) +# undef yylval # define yylval (*lvalp) #endif