From: Akim Demaille Date: Wed, 13 Aug 2008 11:18:22 +0000 (+0200) Subject: Adjust verbose message to using emacs. X-Git-Tag: v2.7.90~1100 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/6e0977873a3d12eeff4f31c85ff8925830c00cf7?hp=4c3cc7da5d1f1ff197e00de9c0cc7b76edee852d Adjust verbose message to using emacs. * etc/bench.pl.in: Inform compilation-mode when we change the directory. (generate_grammar_list): Recognize %define "variant" in addition to %define variant. --- diff --git a/ChangeLog b/ChangeLog index a2e08e0e..03a54bfa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-11-10 Akim Demaille + + Adjust verbose message to using emacs. + * etc/bench.pl.in: Inform compilation-mode when we change the + directory. + (generate_grammar_list): Recognize %define "variant" in addition + to %define variant. + 2008-11-10 Akim Demaille Classify symbols by type-name. diff --git a/etc/bench.pl.in b/etc/bench.pl.in index e5133f0e..0679046c 100755 --- a/etc/bench.pl.in +++ b/etc/bench.pl.in @@ -575,7 +575,7 @@ sub generate_grammar_list ($$@) { my ($base, $max, @directive) = @_; my $directives = directives ($base, @directive); - my $variant = grep { /%define variant/ } @directive; + my $variant = grep { /%define "?variant"?/ } @directive; my $out = new IO::File ">$base.y" or die; print $out <