Mike Gerwitz
1ec9c963fd
This allows an element to be repeated by the parent NT. The easiest way I saw to implement this for now was to abuse the Context to provide a runtime configuration that would allow the state machine to reset after it has completed parsing. This also influences error recovery, in that if we're expecting zero or more of something, we cannot provide an error for an unexpected name, and instead must emit a dead state so that the caller can determine what to do. DEV-7145 |
||
---|---|---|
.. | ||
state | ||
error.rs | ||
lower.rs | ||
parser.rs | ||
state.rs |