On Wed, Jun 25, 2008 at 01:04:43AM -0700, Moritz Lenz wrote:
> Rakudo as of r28692 reports a slightly wrong context on reporting parse
> failures.
> 
> When trying to parse t/spec/S02-builtin_data_types/lists.t (r21012) it
> reports:
> 
> Statement not terminated properly at line 118, near "= [EMAIL PROTECTED];"
> current instr.: 'parrot;PGE::Util;die' pc 120
> (runtime/parrot/library/PGE/Util.pir:82)
> 
> But line 118 reads like this:
> my $arrayref = [EMAIL PROTECTED];
> 
> So there's just a single backslash, while two get reported. I see no
> need for extra quoting in the error message.

What if there's a newline or other special character in the source
at the point of the error?   Should those be quoted?

Pm

Reply via email to