summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-04-28 08:27:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-04-28 08:27:12 +0000
commit3201ebbdcb10569bd1977f3cabf046969e76aa5d (patch)
tree65754ca8d37b6357128d7c2a6753027704801e6e /toke.c
parent4aac21b12b52d9794642ea784d682856e3f3a2ed (diff)
downloadperl-3201ebbdcb10569bd1977f3cabf046969e76aa5d.tar.gz
qw(a\\b) must be parsed like 'a\\b', i.e., backslash escapes
itself and no other (from Tom Hughes) p4raw-id: //depot/perl@5989
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 7d4e937aa1..5c1b945cba 100644
--- a/toke.c
+++ b/toke.c
@@ -4504,7 +4504,7 @@ Perl_yylex(pTHX)
for (; !isSPACE(*d) && len; --len, ++d) ;
}
words = append_elem(OP_LIST, words,
- newSVOP(OP_CONST, 0, newSVpvn(b, d-b)));
+ newSVOP(OP_CONST, 0, tokeq(newSVpvn(b, d-b))));
}
}
if (words) {