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.

Reply via email to