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 work
line 1495 comment out the entire line
# /* vi:set syn=yacc: */
to elminate error "Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE  vi:set syn=yacc: */ at PurePerl.yp line 1495."
And also line 1307 changed from
my $temp_pos = pos($$input); $$input =~ s/\G\s*(\n)\s*([+-]{2})/$1;$2/sg; pos($$input) = $temp_pos;
to
my $temp_pos = pos($$input); $temp_pos =~ 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."
Hope this is of assistance to someone.