intellij-plugin-v4
does not generate parse tree upon error recovery correctly
#597
Labels
intellij-plugin-v4
does not generate parse tree upon error recovery correctly
#597
I am reading "Section 9.3: Automatic Error Recovery Strategy" of the book "The Definitive ANTLR 4 Reference" and trying the following grammar
Class
on the inputclass T { { int i; } }
.The
intellij-plugin-v4
(1.19.3-3
) generates the following parse tree in which the extraneous{
is recognized inmember
.However, the book shows the following parse tree in which the extraneous
{
is recognized outsidemember
.According to the description of the error recovery strategy in the book, I am expecting the second parse tree.
The text was updated successfully, but these errors were encountered: