This does not compile in ANTLR 4:
Number options { backtrack=true; } : (IntegerLiteral Range)=> IntegerLiteral { $type = IntegerLiteral; } | (FloatLiteral)=> FloatLiteral { $type = FloatLiteral; } | IntegerLiteral { $type = IntegerLiteral; } ;
due to backtrace = true ... What happened to him?
What should I use in ANTLR 4?
source share