]> git.saurik.com Git - bison.git/blobdiff - tests/headers.at
For push mode, convert yyparse from a macro to a function, invoke yylex
[bison.git] / tests / headers.at
index a348d65b2770d6a4a44c15ce350670ec34af3583..6b17017083296542be19427363e4542a6ce4fbbc 100644 (file)
@@ -89,7 +89,7 @@ AT_SETUP([export YYLTYPE])
 AT_DATA_GRAMMAR([input.y],
 [%locations
 
-%name-prefix="my_"
+%name-prefix "my_"
 %{
 #include <stdio.h>
 #include <stdlib.h>
@@ -118,7 +118,9 @@ AT_DATA([caller.c],
 [[#include "input.h"
 YYLTYPE *my_llocp = &my_lloc;
 
+#ifndef YYPUSH_DECLS
 int my_parse (void);
+#endif
 
 int
 main (void)