projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0eb665
)
allow trailing whitespace on #/code lines
author
Tony Cook
<tony@develop=help.com>
Tue, 24 Nov 2009 07:52:31 +0000
(07:52 +0000)
committer
Tony Cook
<tony@develop=help.com>
Tue, 24 Nov 2009 07:52:31 +0000
(07:52 +0000)
lib/Imager/Preprocess.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Imager/Preprocess.pm
b/lib/Imager/Preprocess.pm
index 0e03eaf17f80a8981f188517f086363cdd3e7119..f0b5be788924de34f9edcaade1742ea1d9f8c860 100644
(file)
--- a/
lib/Imager/Preprocess.pm
+++ b/
lib/Imager/Preprocess.pm
@@
-48,7
+48,7
@@
sub preprocess {
$code_line = $. + 1;
$save_code = 1;
}
- elsif ($line =~ /^\#\/code$/) {
+ elsif ($line =~ /^\#\/code
\s*
$/) {
$save_code
or do { warn "$src:$.:#/code without #code\n"; ++$failed; next; };