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

[gdscript] missing base class lexer Reset() method #3613

Closed
kaby76 opened this issue Jul 14, 2023 · 0 comments · Fixed by #3614
Closed

[gdscript] missing base class lexer Reset() method #3613

kaby76 opened this issue Jul 14, 2023 · 0 comments · Fixed by #3614

Comments

@kaby76
Copy link
Contributor

kaby76 commented Jul 14, 2023

For my upcoming change in #3598 I pointed out that there may be several grammars that are missing the Reset() method. The gdscript grammar is one of these.

Why is this important? The driver for the grammar first reads tokens from the lexer. It does so independently from the parser. Then, after calling Reset(), it performs a parse. If Reset() does not work, the parse will fail.

teverett pushed a commit that referenced this issue Jul 15, 2023
rvrooman-codelogic pushed a commit to CodeLogicIncEngineering/grammars-v4-public-fork that referenced this issue Jul 27, 2023
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

Successfully merging a pull request may close this issue.

1 participant