]> git.saurik.com Git - bison.git/commit
Enhance bench.pl.
authorAkim Demaille <demaille@gostai.com>
Mon, 4 Aug 2008 19:56:21 +0000 (21:56 +0200)
committerAkim Demaille <demaille@gostai.com>
Sun, 9 Nov 2008 19:00:29 +0000 (20:00 +0100)
commitf10e19fd1a546ee6b79947c6de86ad7f118a6686
tree609e345ab585adb60aa131a7d05046ab2b87bd8d
parent5de9c593019d717db3073a37e2acf6a30e7f352d
Enhance bench.pl.

* etc/bench.pl.in (parse, parse_expr, parse_term, parse_fact)
(@token, $grammar, $bench): New.
(generate_grammar_variant): Rename as...
(generate_grammar_list): this.
(generate_grammar): Adjust.
(bench_grammar): Rename as...
(bench): this.
Use it in the various bench-marking routines.
(-b, -g): New options.
ChangeLog
etc/bench.pl.in