Merge branch 'set-interpreter' of git://github.com/sharwell/antlr4

This commit is contained in:
Terence Parr 2012-11-15 12:58:50 -08:00
commit ab5c9ede09
1 changed files with 7 additions and 1 deletions

View File

@ -65,7 +65,13 @@ public abstract class Recognizer<Symbol, ATNInterpreter extends ATNSimulator> {
public abstract ATN getATN();
public ATNInterpreter getInterpreter() { return _interp; }
public ATNInterpreter getInterpreter() {
return _interp;
}
public void setInterpreter(ATNInterpreter interpreter) {
_interp = interpreter;
}
/** What is the error header, normally line/character position information? */
public String getErrorHeader(RecognitionException e) {