Skip to content

Comments

Fix ANTLR grammar: add catch-all hidden lexer rule to prevent tokeniz…#502

Open
rayan6ms wants to merge 1 commit intoTeamDman:1.19.2from
rayan6ms:1.19.2
Open

Fix ANTLR grammar: add catch-all hidden lexer rule to prevent tokeniz…#502
rayan6ms wants to merge 1 commit intoTeamDman:1.19.2from
rayan6ms:1.19.2

Conversation

@rayan6ms
Copy link

I've been using the generated antlr files on my editor (Yes, I'm that guy)
And I noticed some mismatched syntax errors when using "back side" or "front side" even though they were in the code. Upon investigating, I noticed that there was some Java code on the platform/visual-studio-code/super-factory-manager-language/syntaxes/SFML.g4 file, and as the target is typescript, I changed it to the correct grammar syntax.
PS: I did not regenerate the antlr files for this PR, to update the extension, you still have to run the antlr command.

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 this pull request may close these issues.

1 participant