/[debian]/jabref/branches/2.3/debian/patches/05_antlr.dpatch
ViewVC logotype

Contents of /jabref/branches/2.3/debian/patches/05_antlr.dpatch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1279 - (show annotations)
Sun Apr 20 12:30:10 2008 UTC (13 years, 3 months ago) by gregoa
File size: 1323 byte(s)
integrate patches from Gerardo Curiel
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 05_antlr.dpatch by <gerardo@sophie.gerardo.com.ve>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Use antlr3 stable release API, missing ruleNestingLevel member on the antlr3 beta API
6
7 @DPATCH@
8 diff -urNad jabref-2.3.1~/src/java/net/sf/jabref/bst/BstLexer.java jabref-2.3.1/src/java/net/sf/jabref/bst/BstLexer.java
9 --- jabref-2.3.1~/src/java/net/sf/jabref/bst/BstLexer.java 2008-04-19 03:48:20.000000000 -0430
10 +++ jabref-2.3.1/src/java/net/sf/jabref/bst/BstLexer.java 2008-04-19 03:48:53.000000000 -0430
11 @@ -3,11 +3,12 @@
12 // $ANTLR 3.0b5 Bst.g 2006-11-23 23:20:24
13
14 import org.antlr.runtime.*;
15 +import org.antlr.codegen.*;
16 import java.util.Stack;
17 import java.util.List;
18 import java.util.ArrayList;
19
20 -public class BstLexer extends Lexer {
21 +public class BstLexer extends ActionTranslatorLexer {
22 public static final int LETTER=21;
23 public static final int T29=29;
24 public static final int T33=33;
25 @@ -40,6 +41,9 @@
26 public static final int IDLIST=4;
27 public static final int NUMERAL=22;
28 public static final int READ=13;
29 +
30 + int ruleNestingLevel = 0;
31 +
32 public BstLexer() {;}
33 public BstLexer(CharStream input) {
34 super(input);
35 @@ -1656,4 +1660,4 @@
36
37
38
39 -}
40 \ No newline at end of file
41 +}

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26