I am using the ANTLR4 IntelliJ plug-in, and I am using a the Antlr-4.5.1 Jar.
When I Generate Antlr Recognizer
in Lexer and Parser can't resolve symbols RuntimeMetaData and Vocabulary.
If I use the command line to compile and run my .g4
file it works fine but gives errors in IntelliJ.
I can swap in the command line compiled Lexer and Parser Java files for the error ones and it runs fine.
I'm on Mac OS X 10.11 using IntelliJ 15.