]> git.saurik.com Git - bison.git/blobdiff - tests/input.at
For push mode, convert yyparse from a macro to a function, invoke yylex
[bison.git] / tests / input.at
index fd389a5843c37de52c9d747bf85739d6c2ec3d62..12d620c8edf616e4d2dff50a7a95e320d7766d8d 100644 (file)
@@ -470,7 +470,7 @@ char quote[] = "@:>@@:>@,";
 
 %{
 static void yyerror (const char *s);
-int yylex (void);
+static int yylex (void);
 %}
 
 %type <ival> '@<:@'
@@ -503,7 +503,7 @@ value_as_yystype (value val)
   return res;
 }
 
-int
+static int
 yylex (void)
 {
   static char const input[] = "@<:@\1\2$@{@oline@__@&t@oline__\
@@ -531,8 +531,6 @@ AT_DATA([main.c],
 
 #ifndef YYPUSH_DECLS
 int yyparse (void);
-#else
-int yylex (void);
 #endif
 
 int