]> git.saurik.com Git - bison.git/blobdiff - src/scan-gram.l
For push mode, convert yyparse from a macro to a function, invoke yylex
[bison.git] / src / scan-gram.l
index 2f7516565f643fb5de1a79a19b12cbfc8780bfe4..2459f200dba7faa7bd18ba0bfdb8a2ec399c37c2 100644 (file)
@@ -189,7 +189,8 @@ splice       (\\[ \f\t\v]*\n)*
   "%printer"                       return PERCENT_PRINTER;
   "%provides"                       return PERCENT_PROVIDES;
   "%pure"[-_]"parser"              return PERCENT_PURE_PARSER;
-  "%push"[-_]"parser"              return PERCENT_PUSH_PARSER;
+  "%push-parser"                   return PERCENT_PUSH_PARSER;
+  "%push-pull-parser"              return PERCENT_PUSH_PULL_PARSER;
   "%require"                       return PERCENT_REQUIRE;
   "%requires"                       return PERCENT_REQUIRES;
   "%right"                         return PERCENT_RIGHT;