/* Pure parsers. */
[#]define YYPURE b4_pure_flag
+/* Push parsers. */
+[#]define YYPUSH b4_push_flag
+
/* Using locations. */
[#]define YYLSP_NEEDED b4_locations_flag
])
b4_define_flag_if([yacc]) # Whether POSIX Yacc is emulated.
+# b4_push_if(IF-TRUE, IF-FALSE)
+# -----------------------------
+# Expand IF-TRUE, if %push-parser, IF-FALSE otherwise.
+m4_define([b4_push_if],
+[m4_if(b4_push_flag, [1],
+ [$1],
+ [$2])])
+
+
## ------------------------- ##
## Assigning token numbers. ##