Make sure to send the final exit rule event in ParserInterpreter

This commit is contained in:
Sam Harwell 2013-11-14 09:46:47 -06:00
parent e02968f0e7
commit 7165a42d21
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ public class ParserInterpreter extends Parser {
case ATNState.RULE_STOP :
// pop; return from rule
if ( _ctx.isEmpty() ) {
exitRule();
return rootContext;
}