diff options
-rw-r--r-- | Master/tlpkg/TeXLive/TLPSRC.pm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Master/tlpkg/TeXLive/TLPSRC.pm b/Master/tlpkg/TeXLive/TLPSRC.pm index 735e9714b52..c7077454c45 100644 --- a/Master/tlpkg/TeXLive/TLPSRC.pm +++ b/Master/tlpkg/TeXLive/TLPSRC.pm @@ -74,11 +74,9 @@ sub from_file foreach my $line (@lines) { $line =~ /^\s*#/ && next; # skip comment lines - if ($line =~ /^\s*$/) { - if (!$started) { next; } - if ($finished) { next; } - die("$srcfile: empty line not allowed in tlpsrc"); - } + next if $line =~ /^\s*$/; # skip blank lines + # (blank lines are significant in tlpobj, but not tlpsrc) + if ($line =~ /^ /) { die "$srcfile: continuation line not allowed in tlpsrc: $line\n"; } |