On Sat Jan 24 08:40:24 2009, masak wrote:
> Rakudo r35957:
> 
> $ perl6 -e 'grammar G { regex TOP {} }'
> Could not find non-existent sub TOP
> [...]
> 
> This is the wrong error message to give. The empty regex in TOP should
> be disallowed.

After fixes for a related ticket earlier, this now reports:

Malformed regex definition at line 1, near "TOP {} }\n"

Thanks!

Jonathan

Reply via email to