forked from jasder/antlr
interp DFA shouldn't be static
This commit is contained in:
parent
1e3d02314f
commit
ebe9cd245e
|
@ -50,8 +50,8 @@ public class LexerInterpreter implements TokenSource {
|
|||
/** How to create token objects */
|
||||
protected TokenFactory<?> _factory = CommonTokenFactory.DEFAULT;
|
||||
|
||||
protected static final DFA[] _decisionToDFA = new DFA[1];
|
||||
protected static final PredictionContextCache _sharedContextCache =
|
||||
protected final DFA[] _decisionToDFA = new DFA[1];
|
||||
protected final PredictionContextCache _sharedContextCache =
|
||||
new PredictionContextCache();
|
||||
|
||||
public LexerInterpreter(LexerGrammar g, String inputString) {
|
||||
|
|
Loading…
Reference in New Issue