diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-12-04 04:24:32 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-12-04 04:41:35 -0800 |
commit | 29da91af2e92d8444a7b9f6dcc93d151677c3a51 (patch) | |
tree | 8ce80a9ebc299d11b2fd73d42473d3bbce7b3f1f /toke.c | |
parent | 2cb1ad0a6b296a4da159144909674fb99896c236 (diff) | |
download | perl-29da91af2e92d8444a7b9f6dcc93d151677c3a51.tar.gz |
toke.c: Pass GV_NOTQUAL for override lookup
We know in this code path that the name is unqualified, so tell
gv_fetchpvn_flags to skip the parser that looks for package
separators.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7112,7 +7112,8 @@ Perl_yylex(pTHX) if (PL_expect != XOPERATOR && (*s != ':' || s[1] != ':')) { CV *cv; if ((gv = gv_fetchpvn_flags(PL_tokenbuf, len, - UTF ? SVf_UTF8 : 0, SVt_PVCV)) && + (UTF ? SVf_UTF8 : 0)|GV_NOTQUAL, + SVt_PVCV)) && (cv = GvCVu(gv))) { if (GvIMPORTED_CV(gv)) |