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

Issue with Antlr4.Runtime.Standard vs Antlr4.Runtime #4

Open
Falthazar opened this issue Apr 22, 2019 · 0 comments
Open

Issue with Antlr4.Runtime.Standard vs Antlr4.Runtime #4

Falthazar opened this issue Apr 22, 2019 · 0 comments

Comments

@Falthazar
Copy link

I was trying to get this working with a console project in Visual Studio.
I kept getting the following error:
'LanguageLexer.TokenNames': no suitable method found to override
Same error for the Parser and some other files.

After some digging I found out that the Antlr4 Language Support extension uses the "C# optimized" version of Antlr4, not the standard runtime. There are obviously a couple of differences, unfortunately.

Maybe add a switch to choose which runtime to use? Compiling GRunSharp with Antlr4.Runtime (vs Antlr4.Runtime.Standard) fixed the issue.

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

1 participant