On Sun Oct 05 14:20:32 2014, [email protected] wrote:
> The error message with nom is now "Quantifier quantifies nothing":
> 
> > / * /
> ===SORRY!=== Error while compiling <unknown file>
> Quantifier quantifies nothing
> at <unknown file>:1
> ------> / *⏏ /
>     expecting any of:
>         statement list
>         prefix or term
>         prefix or meta-prefix
> 
> > / a+ + /
> ===SORRY!=== Error while compiling <unknown file>
> Quantifier quantifies nothing
> at <unknown file>:1
> ------> / a+ +⏏ /
>     expecting any of:
>         statement list
>         prefix or term
>         prefix or meta-prefix
> 
> I'll add a typed exception and a test.

I added a typed exception X::Syntax::Regex::SolitaryQuantifier:

* https://github.com/perl6/nqp/pull/197

* https://github.com/rakudo/rakudo/pull/328 and 
https://github.com/rakudo/rakudo/pull/319

Also I added a test (fudged todo) to S05-metasyntax/repeat.t with commit 
https://github.com/perl6/roast/commit/496aa2ffa9

With the next bump of NQP_REVISION the test should start to pass -- then I'll 
close the ticket.

Reply via email to