You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
(vsAntlr4.Runtime.Standard
) fixed the issue.The text was updated successfully, but these errors were encountered: