You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My grammar is split into separate parser and lexer files(grammars). I can paste these into the ANTLR Lab and parse strings in the grammar. I can also generate Go code from these grammar files and parse strings using the resulting code.
But when I use the IntelliJ plug-in, I get the following message in the Parse-tree pane:
Issues with parser and/or lexer grammar(s) prevent preview; see ANTLR Tool Output pane.
OK I guess a more explicit error should appear somewhere, in this particular case it's because you used grammar GQLParser; instead of parser grammar GQLParser;.
My grammar is split into separate parser and lexer files(grammars). I can paste these into the ANTLR Lab and parse strings in the grammar. I can also generate Go code from these grammar files and parse strings using the resulting code.
But when I use the IntelliJ plug-in, I get the following message in the Parse-tree pane:
Issues with parser and/or lexer grammar(s) prevent preview; see ANTLR Tool Output pane.
There is nothing in the ANTLR Tool Output pane.
The grammar files are in the following repository: https://github.com/mburbidg/gqlgrammar
The text was updated successfully, but these errors were encountered: