Fix expansion of repeat rules into recursive rules
Previously, the way repeat rules were expanded, the auxiliary rule always needed to be reduced, even if the repeating content was empty. This caused problems in parse states where some items contained the repeat rule and some did not. To make those cases work, the repeat rule had to explicitly be marked as optional. With this change, that is no longer necessary.
This commit is contained in:
parent
43ecac2a1d
commit
ed11ef557a
10 changed files with 48641 additions and 39051 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue