Skip to content

Commit 93614e4

Browse files
committed
Fix whitespace issue in the preproc regex
It was requiring 2 or more whitespace instead of 1 or more
1 parent 89ed67b commit 93614e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preproc.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
}
2929
}
3030

31-
if ($line =~ /^"\s*$preproc(\w+)$preproc\s+ (?:"(.+)"|'(.*)')\s*$/) {
31+
if ($line =~ /^"\s*$preproc(\w+)$preproc\s+(?:"(.+)"|'(.*)')\s*$/) {
3232
my ($name, $content) = ($1, $2);
3333
$content =~ s/$preproc(\w+)$preproc/
3434
die "Replacement for $preproc$1$preproc not found at line $.\n" if !$replacements{$1};

0 commit comments

Comments
 (0)