bench.pl: Pass directives as a list instead of as a string.

* etc/bench.pl.in (&directives): New.
	(&triangular_grammar, &calc_grammar): Use it to format the Bison
	directives.
	(&triangular_grammar): Do use the directives (were ignored).
	(&bench_grammar, &bench_push_parser): Adjust to pass lists of
	directives.
This commit is contained in:
Akim Demaille
2008-07-17 11:21:21 +02:00
parent 7484f1d4f3
commit 922730fe36
2 changed files with 42 additions and 14 deletions

View File

@@ -1,3 +1,13 @@
2008-11-03 Akim Demaille <demaille@gostai.com>
bench.pl: Pass directives as a list instead of as a string.
* etc/bench.pl.in (&directives): New.
(&triangular_grammar, &calc_grammar): Use it to format the Bison
directives.
(&triangular_grammar): Do use the directives (were ignored).
(&bench_grammar, &bench_push_parser): Adjust to pass lists of
directives.
2008-11-03 Akim Demaille <demaille@gostai.com>
Improve genericity of bench.pl.