added comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6835]
This commit is contained in:
parent
689687f0ed
commit
9c03c08ba0
|
@ -188,6 +188,7 @@ processOneChar:
|
|||
case Bytecode.LABEL :
|
||||
case Bytecode.SAVE :
|
||||
case Bytecode.ACTION :
|
||||
// see through them for closure ops
|
||||
int labelIndex = getShort(code, ip);
|
||||
ip += 2;
|
||||
addToClosure(closure, ip, alt, context); // do closure past SAVE
|
||||
|
@ -213,6 +214,10 @@ processOneChar:
|
|||
if ( context != NFAStack.EMPTY ) {
|
||||
addToClosure(closure, context.returnAddr, alt, context.parent);
|
||||
}
|
||||
break;
|
||||
case Bytecode.SEMPRED :
|
||||
// TODO: add next instruction only if sempred succeeds
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue