Make sure to send the final exit rule event in ParserInterpreter
This commit is contained in:
parent
e02968f0e7
commit
7165a42d21
|
@ -163,6 +163,7 @@ public class ParserInterpreter extends Parser {
|
|||
case ATNState.RULE_STOP :
|
||||
// pop; return from rule
|
||||
if ( _ctx.isEmpty() ) {
|
||||
exitRule();
|
||||
return rootContext;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue