You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve error reporting.
Previously, errors for branch lookaheads were discarded and
a generic "unexpected X" was returned. Those errors are now
tracked and reported if they are the "deepest" error.
Merge branch 'sleepinggenius2-empty-disjunction-node'
* sleepinggenius2-empty-disjunction-node:
Adds test for issue alecthomas#60
Adds error for empty alternative expression
Add support for a full set of match modifiers (*, +, ? and !).
- `*` Expression can match zero or more times.
- `+` Expression must match one or more times.
- `?` Expression can match zero or once.
- `!` Require a non-empty match (this is useful with a sequence of optional matches eg. `("a"? "b"? "c"?)!`).