Make it possible to return a symbol_type from yylex.

* data/lalr1.cc (b4_lex_symbol_if): New.
	(parse): When lex_symbol is defined, expected yylex to return the
	complete lookahead.
	* etc/bench.pl.in (generate_grammar_list): Extend to support this
	yylex interface.
	(bench_variant_parser): Exercise it.
This commit is contained in:
Akim Demaille committed 2008-11-11 15:48:52 +01:00
1 parent 64c1b92a4f
commit 0927787504
3 files changed
+73 -35

No files matched your search

+10
View File
@@ -1,3 +1,13 @@
2008-11-11 Akim Demaille <[email protected]>
Make it possible to return a symbol_type from yylex.
* data/lalr1.cc (b4_lex_symbol_if): New.
(parse): When lex_symbol is defined, expected yylex to return the
complete lookahead.
* etc/bench.pl.in (generate_grammar_list): Extend to support this
yylex interface.
(bench_variant_parser): Exercise it.
2008-11-11 Akim Demaille <[email protected]>
Remove useless bench case.