projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
SunOS 4.1.4 is working, too.
[p5sagit/p5-mst-13.2.git]
/
toke.c
diff --git
a/toke.c
b/toke.c
index
adc7d26
..
aa20096
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-6996,7
+6996,7
@@
S_scan_str(pTHX_ char *start, int keep_quoted, int keep_delims)
goto read_more_line;
else {
/* handle quoted delimiters */
- if (*(svlast-1) == '\\') {
+ if (SvCUR(sv) > 1 && *(svlast-1) == '\\') {
char *t;
for (t = svlast-2; t >= SvPVX(sv) && *t == '\\';)
t--;