summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-10-15 11:12:31 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-10-15 11:12:31 +0000
commit3cf7b4c446ec2eb4fa0902195a9812fc4f83df28 (patch)
tree8b05014144619ca2aca2412986c5a06399902cb4 /toke.c
parent8be5f608f6696ee966fa295d23ecd0c1c2220447 (diff)
downloadperl-3cf7b4c446ec2eb4fa0902195a9812fc4f83df28.tar.gz
Fix bug [perl #24212] : improper error recovery in the
tokenizer after an unknown filetest operator. p4raw-id: //depot/perl@21452
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 0b934c1a79..b6b81d244b 100644
--- a/toke.c
+++ b/toke.c
@@ -2878,7 +2878,7 @@ Perl_yylex(pTHX)
"### '-%c' looked like a file test but was not\n",
tmp);
} );
- s -= 2;
+ s = --PL_bufptr;
}
}
tmp = *s++;