projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Perl 5.8.3 patches from the BS2000 port - part 2
[p5sagit/p5-mst-13.2.git]
/
pp_ctl.c
diff --git
a/pp_ctl.c
b/pp_ctl.c
index
ec79e24
..
48e3618
100644
(file)
--- a/
pp_ctl.c
+++ b/
pp_ctl.c
@@
-3580,7
+3580,7
@@
S_doparseform(pTHX_ SV *sv)
/* estimate the buffer size needed */
for (base = s; s <= send; s++) {
- if (*s == '\n' || *s == '@' || *s == '^')
+ if (*s == '\n' || *s == '\0' || *s == '@' || *s == '^')
maxops += 10;
}
s = base;