mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
Improve display of directives.
* etc/bench.pl.in (parse_term): Don't add useless eol.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-11-11 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
Improve display of directives.
|
||||||
|
* etc/bench.pl.in (parse_term): Don't add useless eol.
|
||||||
|
|
||||||
2008-11-11 Akim Demaille <demaille@gostai.com>
|
2008-11-11 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
Use string_cast in the bench.
|
Use string_cast in the bench.
|
||||||
|
|||||||
@@ -995,7 +995,7 @@ sub parse_term ()
|
|||||||
{
|
{
|
||||||
for my $lhs (@lhs)
|
for my $lhs (@lhs)
|
||||||
{
|
{
|
||||||
push @res, "$lhs\n$rhs";
|
push @res, $lhs . ($lhs && $rhs ? "\n" : "") . $rhs;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user