-
Notifications
You must be signed in to change notification settings - Fork 82
Description
I currently have antlr 3.1.1 in my code. I am planning to move to 3.5.0.2 so I installed it from Nuget. Upon installing I encountered errors in the generated Lexer and Parser.cs. I have looked at release notes, articles, etc but couldn't find the right way of fixing these errors. I would like to seek guidance:
1.) The type or namespace name 'Collections' does not exist in the namespace 'Antlr.Runtime'.
I get this error in "using Antlr.Runtime.Collections.StackList;"
2.) What parameter should I put in ParserRuleReturnScope? What are the changes why a parameter was added here?
3.) Tree property does not exist in ParserRuleReturnScope anymore.
4.) Lexer - DEFAULT_TOKEN_CHANNEL, HIDDEN does not exist.
5.) this.dfa19.specialStateTransitionHandler - CS1061 'ExpressionLexer.DFA19' does not contain a definition for 'specialStateTransitionHandler' and no extension method 'specialStateTransitionHandler' accepting a first argument of type 'ExpressionLexer.DFA19' could be found (are you missing a using directive or an assembly reference?)
There are a lot more errors but I would like to focus first on this.