summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-05-20 11:45:19 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2008-05-20 08:04:05 +0000
commit984f9f66477bc722578262ae8520584e44e881af (patch)
tree2b7070b8896c796283763f20f264fe631982b154 /toke.c
parent3182b11b46e28871b3a0e0b479b6cc939a4a90b1 (diff)
downloadperl-984f9f66477bc722578262ae8520584e44e881af.tar.gz
Re: [PATCH: TODO Tests] Re: [perl #53806] No complain about bareword
From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com> Message-ID: <b77c1dce0805200045i1000598ci13c9cb3a29f64b6d@mail.gmail.com> p4raw-id: //depot/perl@33874
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 bc559ae30f..b76e4340b0 100644
--- a/toke.c
+++ b/toke.c
@@ -5667,10 +5667,10 @@ Perl_yylex(pTHX)
/* Call it a bare word */
+ bareword:
if (PL_hints & HINT_STRICT_SUBS)
pl_yylval.opval->op_private |= OPpCONST_STRICT;
else {
- bareword:
if (lastchar != '-') {
if (ckWARN(WARN_RESERVED)) {
d = PL_tokenbuf;