diff options
author | Steve Grazzini <grazz@pobox.com> | 2003-08-04 12:01:45 -0400 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-08-04 21:30:25 +0000 |
commit | 8a8635f01e16b518b296d1f0397d3020c7e9c138 (patch) | |
tree | 953aa7bd87486920fa9e2c35b096941b8638b48f /toke.c | |
parent | 33f3c7b8444b48791ad016570a41a23483d750d2 (diff) | |
download | perl-8a8635f01e16b518b296d1f0397d3020c7e9c138.tar.gz |
Re: [perl #23210] parser error with 'print $HANDLE func(@args)'
Message-ID: <20030804200145.GB21699@grazzini.net>
Prevent the warning "Bareword found where operator expected" in
the case "print $fh foo()" where foo() is an undefined function.
p4raw-id: //depot/perl@20480
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3559,9 +3559,7 @@ Perl_yylex(pTHX) } } else { - GV *gv = gv_fetchpv(tmpbuf, FALSE, SVt_PVCV); - if (gv && GvCVu(gv)) - PL_expect = XTERM; /* e.g. print $fh subr() */ + PL_expect = XTERM; /* e.g. print $fh subr() */ } } else if (isDIGIT(*s)) |