diff options
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/fmtutil.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl index d7e43e338af..dbcb0fefb13 100755 --- a/Master/texmf-dist/scripts/texlive/fmtutil.pl +++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl @@ -756,7 +756,8 @@ sub read_fmtutil_file { next if /^\s*#?\s*$/; # ignore empty and all-blank and just-# lines next if /^\s*#[^!]/; # ignore whole-line comment that is not a disable s/#[^!].*//; # remove within-line comment that is not a disable - my ($a, $b, $c, @rest) = split ' '; # special split rule, leading ws ign + s/#$//; # remove # at end of line + my ($a,$b,$c,@rest) = split (' '); # special split rule, leading ws ign my $disabled = 0; if ($a eq "#!") { # we cannot determine whether a line is a proper fmtline or |