-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Describe the bug
I noticed that empty rules in the pck are not handled correctly in LALR
To Reproduce
Using following PCK content:
programs: start
whitespace: hidden
programs -> until_RUN RUN
until_RUN -> until_AT until_RUN
until_RUN -> until_AT
until_RUN ->
until_AT -> RT
until_AT -> ST
RUN= 'RUN'
RT= 'RT'
ST= 'ST'
whitespace= '[ \t\r\n\f\v]+'
It parses correctly using the following content:
RT
RUN
But it does not parse correctly with the this content:
RUN
while I think it should
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels