forked from jasder/antlr
tweak to remove insuff pred method
This commit is contained in:
parent
6791bf60cf
commit
e228e88ac5
|
@ -29,8 +29,6 @@
|
|||
package org.antlr.v4.runtime;
|
||||
|
||||
import org.antlr.v4.runtime.atn.ATNConfigSet;
|
||||
import org.antlr.v4.runtime.atn.DecisionState;
|
||||
import org.antlr.v4.runtime.atn.SemanticContext;
|
||||
import org.antlr.v4.runtime.dfa.DFA;
|
||||
import org.antlr.v4.runtime.misc.IntervalSet;
|
||||
|
||||
|
@ -77,17 +75,4 @@ public class BaseErrorListener<Symbol> implements ANTLRErrorListener<Symbol> {
|
|||
ATNConfigSet configs)
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reportInsufficientPredicates(Parser recognizer,
|
||||
DFA dfa,
|
||||
int startIndex,
|
||||
int stopIndex,
|
||||
IntervalSet ambigAlts,
|
||||
DecisionState decState,
|
||||
SemanticContext[] altToPred,
|
||||
ATNConfigSet configs,
|
||||
boolean fullContextParse)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,13 +28,12 @@
|
|||
*/
|
||||
package org.antlr.v4.runtime;
|
||||
|
||||
import java.util.Collection;
|
||||
import org.antlr.v4.runtime.atn.ATNConfigSet;
|
||||
import org.antlr.v4.runtime.atn.DecisionState;
|
||||
import org.antlr.v4.runtime.atn.SemanticContext;
|
||||
import org.antlr.v4.runtime.dfa.DFA;
|
||||
import org.antlr.v4.runtime.misc.IntervalSet;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Sam Harwell
|
||||
|
@ -95,21 +94,4 @@ public class ProxyErrorListener<Symbol> implements ANTLRErrorListener<Symbol> {
|
|||
listener.reportContextSensitivity(recognizer, dfa, startIndex, stopIndex, configs);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reportInsufficientPredicates(Parser recognizer,
|
||||
DFA dfa,
|
||||
int startIndex,
|
||||
int stopIndex,
|
||||
IntervalSet ambigAlts,
|
||||
DecisionState decState,
|
||||
SemanticContext[] altToPred,
|
||||
ATNConfigSet configs,
|
||||
boolean fullContextParse)
|
||||
{
|
||||
for (ANTLRErrorListener<? super Symbol> listener : delegates) {
|
||||
listener.reportInsufficientPredicates(recognizer, dfa, startIndex, stopIndex, ambigAlts, decState, altToPred, configs, fullContextParse);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue