|Subject:||5.12.0-RC stuffing bug|
|Date:||Fri, 2 Apr 2010 21:20:38 +0100|
|To:||perlbug [...] perl.org, perl5-porters [...] perl.org|
|From:||Zefram <zefram [...] fysh.org>|
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. Obviously not a regression from 5.10, since the stuffing API was only introduced in 5.11.2. Patch seems very safe to apply, since obviously nothing is using the affected code (except for the module I have under development that led me to discover this bug). -zefram
Message body is not shown because sender requested not to inline it.