diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-24 11:22:21 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-24 11:22:21 +0000 |
commit | 3480a8d2d46562b783befbcecf951d5a2b4067d7 (patch) | |
tree | 5f87c595612ae7d8e6c1a0582e12448cb275542f /toke.c | |
parent | b3980c394843d18896023d060cf87f3a509acec8 (diff) | |
download | perl-3480a8d2d46562b783befbcecf951d5a2b4067d7.tar.gz |
The tokenizer should expect an operator after qw().
This fixes [perl #35885] qw and x operators doesn't mix
p4raw-id: //depot/perl@24560
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4956,6 +4956,7 @@ Perl_yylex(pTHX) s = scan_str(s,FALSE,FALSE); if (!s) missingterm((char*)0); + PL_expect = XOPERATOR; force_next(')'); if (SvCUR(PL_lex_stuff)) { OP *words = Nullop; |