summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-27 14:03:01 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-27 14:03:01 +0000
commit7a6d04f4b4bf895ed78ad15e738aca75d88e3b8c (patch)
treec3c65bf2ad42341d7ab93d2be757e2200b42c256 /toke.c
parentbf070237479de3d22c665ba1e87e55b6d8e595f0 (diff)
downloadperl-7a6d04f4b4bf895ed78ad15e738aca75d88e3b8c.tar.gz
One last gv_fetchpv() that should be GV_ADD rather than TRUE.
p4raw-id: //depot/perl@30030
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 8f6c5ce7d6..e34f796a7f 100644
--- 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;