This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
One last gv_fetchpv() that should be GV_ADD rather than TRUE.
authorNicholas Clark <nick@ccl4.org>
Sat, 27 Jan 2007 14:03:01 +0000 (14:03 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 27 Jan 2007 14:03:01 +0000 (14:03 +0000)
p4raw-id: //depot/perl@30030

toke.c

diff --git a/toke.c b/toke.c
index 8f6c5ce..e34f796 100644 (file)
--- a/toke.c
+++ b/toke.c
@@ -5533,7 +5533,7 @@ Perl_yylex(pTHX)
                        }
                    }
                    if (probable_sub) {
-                       gv = gv_fetchpv(PL_tokenbuf, TRUE, SVt_PVCV);
+                       gv = gv_fetchpv(PL_tokenbuf, GV_ADD, SVt_PVCV);
                        op_free(yylval.opval);
                        yylval.opval = newCVREF(0, newGVOP(OP_GV, 0, gv));
                        yylval.opval->op_private |= OPpENTERSUB_NOPAREN;