ANTLR 4 RuntimeMetaData and Vocabulary

I am using the ANTLR4 IntelliJ plugin and I am using the Antlr-4.5.1 banner.

When I'm Generate Antlr Recognizerat Lexer and Parser can't resolve RuntimeMetaData characters and vocabulary.

If I use the command line to compile and run my file .g4, it works fine, but gives errors in IntelliJ.

I can swap Lexer and Parser Java files for errors on the command line, and it works fine.

I am using Mac OS X 10.11 using IntelliJ 15.

+4
source share
1 answer

antlr4-runtime-x.y.z.jar . antlr4-maven-plugin 4.5.1, antlr4-runtime.

+1

Source: https://habr.com/ru/post/1626508/


All Articles