Author: Gerardo Curiel Author: Philip Rinn Description: Use antlr3 stable release API, missing ruleNestingLevel member on the antlr3 beta API --- a/src/java/net/sf/jabref/bst/BstLexer.java +++ b/src/java/net/sf/jabref/bst/BstLexer.java @@ -9,8 +9,9 @@ import org.antlr.runtime.MismatchedSetEx import org.antlr.runtime.NoViableAltException; import org.antlr.runtime.RecognitionException; import org.antlr.runtime.Token; +import org.antlr.codegen.*; -public class BstLexer extends Lexer { +public class BstLexer extends ActionTranslatorLexer { public static final int LETTER=21; public static final int T29=29; public static final int T33=33; @@ -43,6 +44,9 @@ public class BstLexer extends Lexer { public static final int IDLIST=4; public static final int NUMERAL=22; public static final int READ=13; + + int ruleNestingLevel = 0; + public BstLexer() { } @@ -1661,4 +1665,4 @@ public class BstLexer extends Lexer { -} \ No newline at end of file +}