[perl #74006] 5.12.0-RC stuffing bug
authorZefram <zefram@fysh.org>
Wed, 14 Apr 2010 07:29:15 +0000 (09:29 +0200)
committerRafael Garcia-Suarez <rgs@consttype.org>
Wed, 14 Apr 2010 07:29:15 +0000 (09:29 +0200)
commit255fdf19250671082618dae106a246f12379dbe6
treef19d65ed1133ce03e5bb96cc8937c1f6d1e7fa44
parentbd2aeadfa5cb8ea8dbfc9c3060728594d8452bc6
[perl #74006] 5.12.0-RC stuffing bug

There's a small bug in lex_stuff_pvn() that causes spurious syntax errors
in an obscure situation.  It happens if stuffing is performed on the
last line of a file, and the line ends with a statement that lacks its
terminating semicolon.  Attached patch fixes and adds test.
MANIFEST
ext/XS-APItest-KeywordRPN/KeywordRPN.xs
ext/XS-APItest-KeywordRPN/t/stuff_svcur_bug.t [new file with mode: 0644]
toke.c