diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-28 08:27:12 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-28 08:27:12 +0000 |
commit | 3201ebbdcb10569bd1977f3cabf046969e76aa5d (patch) | |
tree | 65754ca8d37b6357128d7c2a6753027704801e6e /toke.c | |
parent | 4aac21b12b52d9794642ea784d682856e3f3a2ed (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |