tweak to compile
This commit is contained in:
parent
320868d661
commit
9627652b67
|
@ -1033,7 +1033,7 @@ public class ParserATNSimulator<Symbol extends Token> extends ATNSimulator {
|
||||||
ATNState p = config.state;
|
ATNState p = config.state;
|
||||||
// optimization
|
// optimization
|
||||||
if ( !p.onlyHasEpsilonTransitions() ) {
|
if ( !p.onlyHasEpsilonTransitions() ) {
|
||||||
configs.add(config, this);
|
configs.add(config);
|
||||||
if ( config.semanticContext!=null && config.semanticContext!= SemanticContext.NONE ) {
|
if ( config.semanticContext!=null && config.semanticContext!= SemanticContext.NONE ) {
|
||||||
configs.hasSemanticContext = true;
|
configs.hasSemanticContext = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue