Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with grammar #26

Closed
furesoft opened this issue Jul 10, 2018 · 1 comment
Closed

problem with grammar #26

furesoft opened this issue Jul 10, 2018 · 1 comment

Comments

@furesoft
Copy link

furesoft commented Jul 10, 2018

i have this Grammar: Grammar

i have the problem that the code generator generates 2 same IDENTIFIER switch cases. When i delete the empty one it parses not correctly.

@nforndzi
Copy link

i have this Grammar: Grammar

i have the problem that the code generator generates 2 same IDENTIFIER switch cases. When i delete the empty one it parses not correctly.

TinyPG is an LL(1) parser generator, only one lookahead token is used to decide which production to parse. In your case more than one lookahead token tokens are required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants