in reply to Re: Re: Parse::JavaScript
in thread JavaScript::Parse::PurePerl (was Parse::JavaScript)
I apologise for ressurecting a zombie thread, but just wanted to provide this info just in case anyone else was looking at the parser.
I had to make the following corrections to get the module to workto elminate error "Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE vi:set syn=yacc: */ at PurePerl.yp line 1495."# /* vi:set syn=yacc: */
tomy $temp_pos = pos($$input); $$input =~ s/\G\s*(\n)\s*([+-]{2})/$1;$2/sg; pos($$input) = $temp_pos;
to eliminate error "Modification of a read-only value attempted at PurePerl.yp line 1307."my $temp_pos = pos($$input); $temp_pos =~ s/\G\s*(\n)\s*([+-]{2})/$1;$2/sg; pos($$input) = $temp_pos;
|
|---|