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
Responses from the above seem to indicate that my issue could be an ANTLR bug
I have done a search of the existing issues to make sure I'm not sending in a duplicate
I am using this file (had to add .txt to it to upload it here): SqlBase.g4.txt
This creates the SqlBaseParser with Error CS1001 : Identifier expected on line 7895.
((DereferenceContext)_localctx).base =_prevctx;
The field that should be referenced is on line 7097
publicPrimaryExpressionContext@base;
Updating line 7895 to @base fixes the compile error.
Updating the grammer file to use base_ instead of base fixes the compile error. (kaby76/Antlr4BuildTasks#81)
The text was updated successfully, but these errors were encountered:
Hi, thanks for this.
I prefer the latter because it's simpler, but it does end up increasing the set of forbidden keywords, notably when targeting multiple languages.
I am using this file (had to add .txt to it to upload it here):
SqlBase.g4.txt
This creates the SqlBaseParser with
Error CS1001 : Identifier expected
on line 7895.The field that should be referenced is on line 7097
Updating line 7895 to
@base
fixes the compile error.Updating the grammer file to use
base_
instead ofbase
fixes the compile error. (kaby76/Antlr4BuildTasks#81)The text was updated successfully, but these errors were encountered: