X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/918eb7c5ae9ec56d998fe931cc437cb626fe5cb4..2722aa42bdee7e54ab255c7bbfe49ccb1f1307ff:/etc/bench.pl.in diff --git a/etc/bench.pl.in b/etc/bench.pl.in index 1ee98b7f..9fae4c4a 100755 --- a/etc/bench.pl.in +++ b/etc/bench.pl.in @@ -995,7 +995,7 @@ sub parse_term () { for my $lhs (@lhs) { - push @res, "$lhs\n$rhs"; + push @res, $lhs . ($lhs && $rhs ? "\n" : "") . $rhs; } } }