Visual Studio Code – Antlr rule for Digit is not recognizing digits –
I'm trying to extend an existing grammar using Antlr4. In the .g4 file beside other rules the following is defined: Digit : ZeroDigit | NonZeroDigit ; NonZeroDigit : NonZeroOctDigit | '8' | '9' ; NonZeroOctDigit : '1' | '2' |…