diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | scripts/bench.pl | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com> + + * scripts/bench.pl: Skip over blank lines. + 2013-12-04 Paul Eggert <eggert@cs.ucla.edu> [BZ #926] diff --git a/scripts/bench.pl b/scripts/bench.pl index 492ab81..6ad93fa 100755 --- a/scripts/bench.pl +++ b/scripts/bench.pl @@ -83,8 +83,8 @@ LINE:while (<INPUTS>) { } } - # Skip over comments. - if (/^#/) { + # Skip over comments and blank lines. + if (/^#/ || /^$/) { next LINE; } push (@curvals, $_); |