This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [ID 20010920.007] q and qq does not work after do
[perl5.git] / toke.c
diff --git a/toke.c b/toke.c
index 331a71b..af117bc 100644 (file)
--- a/toke.c
+++ b/toke.c
@@ -4209,7 +4209,7 @@ Perl_yylex(pTHX)
            if (*s == '{')
                PRETERMBLOCK(DO);
            if (*s != '\'')
-               s = force_word(s,WORD,FALSE,TRUE,FALSE);
+               s = force_word(s,WORD,TRUE,TRUE,FALSE);
            OPERATOR(DO);
 
        case KEY_die: