[pkg-java] r3175 - trunk/qdox/debian/patches
Arnaud Vandyck
avdyk at alioth.debian.org
Thu Apr 12 08:22:32 UTC 2007
Author: avdyk
Date: 2007-04-12 08:22:31 +0000 (Thu, 12 Apr 2007)
New Revision: 3175
Modified:
trunk/qdox/debian/patches/02_parser_files.patch
Log:
updated the generated files
Modified: trunk/qdox/debian/patches/02_parser_files.patch
===================================================================
--- trunk/qdox/debian/patches/02_parser_files.patch 2007-04-12 08:22:14 UTC (rev 3174)
+++ trunk/qdox/debian/patches/02_parser_files.patch 2007-04-12 08:22:31 UTC (rev 3175)
@@ -1,5 +1,5 @@
--- /dev/null 2006-09-11 12:55:45.000000000 +0000
-+++ Parser.java 2007-04-11 13:36:30.000000000 +0000
++++ Parser.java 2007-04-12 07:49:31.000000000 +0000
@@ -0,0 +1,1173 @@
+//### This file created by BYACC 1.8(/Java extension 1.14)
+//### Java capabilities added 7 Jan 97, Bob Jamison
@@ -20,7 +20,7 @@
+
+
+
-+//#line 2 "src/grammar/parser.y"
++//#line 2 "../src/grammar/parser.y"
+import com.thoughtworks.qdox.parser.*;
+import com.thoughtworks.qdox.parser.structs.*;
+import java.io.IOException;
@@ -572,7 +572,7 @@
+"opt_parammodifiers : opt_parammodifiers modifier",
+};
+
-+//#line 333 "src/grammar/parser.y"
++//#line 333 "../src/grammar/parser.y"
+
+private Lexer lexer;
+private Builder builder;
@@ -813,145 +813,145 @@
+ {
+//########## USER-SUPPLIED ACTIONS ##########
+case 2:
-+//#line 28 "src/grammar/parser.y"
++//#line 28 "../src/grammar/parser.y"
+{ line = lexer.getLine(); }
+break;
+case 10:
-+//#line 34 "src/grammar/parser.y"
++//#line 34 "../src/grammar/parser.y"
+{ builder.addPackage(val_peek(1).sval); }
+break;
+case 11:
-+//#line 37 "src/grammar/parser.y"
++//#line 37 "../src/grammar/parser.y"
+{ builder.addImport(val_peek(1).sval); }
+break;
+case 12:
-+//#line 38 "src/grammar/parser.y"
++//#line 38 "../src/grammar/parser.y"
+{ builder.addImport(val_peek(1).sval); }
+break;
+case 14:
-+//#line 46 "src/grammar/parser.y"
++//#line 46 "../src/grammar/parser.y"
+{
+ builder.addJavaDoc(buffer());
+ }
+break;
+case 17:
-+//#line 53 "src/grammar/parser.y"
++//#line 53 "../src/grammar/parser.y"
+{
+ appendToBuffer(val_peek(0).sval);
+ }
+break;
+case 18:
-+//#line 56 "src/grammar/parser.y"
++//#line 56 "../src/grammar/parser.y"
+{
+ textBuffer.append('\n');
+ }
+break;
+case 21:
-+//#line 63 "src/grammar/parser.y"
++//#line 63 "../src/grammar/parser.y"
+{ line = lexer.getLine(); }
+break;
+case 22:
-+//#line 64 "src/grammar/parser.y"
++//#line 64 "../src/grammar/parser.y"
+{
+ builder.addJavaDocTag(new TagDef(val_peek(2).sval.substring(1), buffer(), line));
+ }
+break;
+case 23:
-+//#line 73 "src/grammar/parser.y"
++//#line 73 "../src/grammar/parser.y"
+{ yyval.sval = val_peek(0).sval; }
+break;
+case 24:
-+//#line 74 "src/grammar/parser.y"
++//#line 74 "../src/grammar/parser.y"
+{ yyval.sval = val_peek(2).sval + '.' + val_peek(0).sval; }
+break;
+case 25:
-+//#line 75 "src/grammar/parser.y"
++//#line 75 "../src/grammar/parser.y"
+{ yyval.sval = val_peek(2).sval + ".*"; }
+break;
+case 26:
-+//#line 78 "src/grammar/parser.y"
++//#line 78 "../src/grammar/parser.y"
+{
+ yyval.type = new TypeDef(val_peek(1).sval,val_peek(0).ival);
+ }
+break;
+case 27:
-+//#line 83 "src/grammar/parser.y"
++//#line 83 "../src/grammar/parser.y"
+{ yyval.ival = 0; }
+break;
+case 28:
-+//#line 84 "src/grammar/parser.y"
++//#line 84 "../src/grammar/parser.y"
+{
+ yyval.ival = val_peek(2).ival + 1;
+ }
+break;
+case 29:
-+//#line 90 "src/grammar/parser.y"
++//#line 90 "../src/grammar/parser.y"
+{ yyval.sval = "public"; }
+break;
+case 30:
-+//#line 91 "src/grammar/parser.y"
++//#line 91 "../src/grammar/parser.y"
+{ yyval.sval = "protected"; }
+break;
+case 31:
-+//#line 92 "src/grammar/parser.y"
++//#line 92 "../src/grammar/parser.y"
+{ yyval.sval = "private"; }
+break;
+case 32:
-+//#line 93 "src/grammar/parser.y"
++//#line 93 "../src/grammar/parser.y"
+{ yyval.sval = "static"; }
+break;
+case 33:
-+//#line 94 "src/grammar/parser.y"
++//#line 94 "../src/grammar/parser.y"
+{ yyval.sval = "final"; }
+break;
+case 34:
-+//#line 95 "src/grammar/parser.y"
++//#line 95 "../src/grammar/parser.y"
+{ yyval.sval = "abstract"; }
+break;
+case 35:
-+//#line 96 "src/grammar/parser.y"
++//#line 96 "../src/grammar/parser.y"
+{ yyval.sval = "native"; }
+break;
+case 36:
-+//#line 97 "src/grammar/parser.y"
++//#line 97 "../src/grammar/parser.y"
+{ yyval.sval = "synchronized"; }
+break;
+case 37:
-+//#line 98 "src/grammar/parser.y"
++//#line 98 "../src/grammar/parser.y"
+{ yyval.sval = "volatile"; }
+break;
+case 38:
-+//#line 99 "src/grammar/parser.y"
++//#line 99 "../src/grammar/parser.y"
+{ yyval.sval = "transient"; }
+break;
+case 39:
-+//#line 100 "src/grammar/parser.y"
++//#line 100 "../src/grammar/parser.y"
+{ yyval.sval = "strictfp"; }
+break;
+case 40:
-+//#line 103 "src/grammar/parser.y"
++//#line 103 "../src/grammar/parser.y"
+{ modifiers.add(val_peek(0).sval); }
+break;
+case 51:
-+//#line 125 "src/grammar/parser.y"
++//#line 125 "../src/grammar/parser.y"
+{
+ yyval.type = new TypeDef(val_peek(2).sval,val_peek(0).ival);
+ }
+break;
+case 52:
-+//#line 130 "src/grammar/parser.y"
++//#line 130 "../src/grammar/parser.y"
+{
+ yyval.sval = val_peek(1).sval;
+ }
+break;
+case 70:
-+//#line 164 "src/grammar/parser.y"
++//#line 164 "../src/grammar/parser.y"
+{
+ builder.endClass();
+}
+break;
+case 71:
-+//#line 168 "src/grammar/parser.y"
++//#line 168 "../src/grammar/parser.y"
+{
+ cls.lineNumber = line;
+ cls.modifiers.addAll(modifiers); modifiers.clear();
@@ -962,13 +962,13 @@
+}
+break;
+case 83:
-+//#line 195 "src/grammar/parser.y"
++//#line 195 "../src/grammar/parser.y"
+{
+ builder.endClass();
+ }
+break;
+case 84:
-+//#line 200 "src/grammar/parser.y"
++//#line 200 "../src/grammar/parser.y"
+{
+ cls.lineNumber = line;
+ cls.modifiers.addAll(modifiers); modifiers.clear();
@@ -978,78 +978,78 @@
+ }
+break;
+case 85:
-+//#line 209 "src/grammar/parser.y"
++//#line 209 "../src/grammar/parser.y"
+{ cls.type = ClassDef.CLASS; }
+break;
+case 86:
-+//#line 210 "src/grammar/parser.y"
++//#line 210 "../src/grammar/parser.y"
+{ cls.type = ClassDef.INTERFACE; }
+break;
+case 87:
-+//#line 211 "src/grammar/parser.y"
++//#line 211 "../src/grammar/parser.y"
+{ cls.type = ClassDef.ANNOTATION_TYPE; }
+break;
+case 90:
-+//#line 216 "src/grammar/parser.y"
++//#line 216 "../src/grammar/parser.y"
+{ cls.extendz.add(val_peek(0).sval); }
+break;
+case 91:
-+//#line 217 "src/grammar/parser.y"
++//#line 217 "../src/grammar/parser.y"
+{ cls.extendz.add(val_peek(0).sval); }
+break;
+case 94:
-+//#line 222 "src/grammar/parser.y"
++//#line 222 "../src/grammar/parser.y"
+{ cls.implementz.add(val_peek(0).sval); }
+break;
+case 95:
-+//#line 223 "src/grammar/parser.y"
++//#line 223 "../src/grammar/parser.y"
+{ cls.implementz.add(val_peek(0).sval); }
+break;
+case 97:
-+//#line 225 "src/grammar/parser.y"
++//#line 225 "../src/grammar/parser.y"
+{ line = lexer.getLine(); }
+break;
+case 107:
-+//#line 238 "src/grammar/parser.y"
++//#line 238 "../src/grammar/parser.y"
+{
+ yyval.sval = "";
+ }
+break;
+case 108:
-+//#line 241 "src/grammar/parser.y"
++//#line 241 "../src/grammar/parser.y"
+{
+ yyval.sval = lexer.getCodeBody();
+ }
+break;
+case 109:
-+//#line 246 "src/grammar/parser.y"
++//#line 246 "../src/grammar/parser.y"
+{ modifiers.clear(); }
+break;
+case 110:
-+//#line 251 "src/grammar/parser.y"
++//#line 251 "../src/grammar/parser.y"
+{
+ fieldType = val_peek(1).type;
+ makeField(val_peek(0).type, lexer.getCodeBody());
+ }
+break;
+case 111:
-+//#line 255 "src/grammar/parser.y"
++//#line 255 "../src/grammar/parser.y"
+{
+ modifiers.clear();
+ }
+break;
+case 113:
-+//#line 260 "src/grammar/parser.y"
++//#line 260 "../src/grammar/parser.y"
+{ line = lexer.getLine(); }
+break;
+case 114:
-+//#line 260 "src/grammar/parser.y"
++//#line 260 "../src/grammar/parser.y"
+{
+ makeField(val_peek(0).type, lexer.getCodeBody());
+ }
+break;
+case 115:
-+//#line 268 "src/grammar/parser.y"
++//#line 268 "../src/grammar/parser.y"
+{
+ mth.lineNumber = line;
+ mth.modifiers.addAll(modifiers); modifiers.clear();
@@ -1062,7 +1062,7 @@
+ }
+break;
+case 116:
-+//#line 278 "src/grammar/parser.y"
++//#line 278 "../src/grammar/parser.y"
+{
+ mth.lineNumber = line;
+ mth.modifiers.addAll(modifiers); modifiers.clear();
@@ -1075,7 +1075,7 @@
+ }
+break;
+case 117:
-+//#line 290 "src/grammar/parser.y"
++//#line 290 "../src/grammar/parser.y"
+{
+ mth.lineNumber = line;
+ mth.modifiers.addAll(modifiers); modifiers.clear();
@@ -1086,15 +1086,15 @@
+ }
+break;
+case 121:
-+//#line 304 "src/grammar/parser.y"
++//#line 304 "../src/grammar/parser.y"
+{ mth.exceptions.add(val_peek(0).sval); }
+break;
+case 122:
-+//#line 305 "src/grammar/parser.y"
++//#line 305 "../src/grammar/parser.y"
+{ mth.exceptions.add(val_peek(0).sval); }
+break;
+case 127:
-+//#line 314 "src/grammar/parser.y"
++//#line 314 "../src/grammar/parser.y"
+{
+ param.name = val_peek(0).type.name;
+ param.type = val_peek(2).type.name;
@@ -1105,15 +1105,15 @@
+ }
+break;
+case 128:
-+//#line 324 "src/grammar/parser.y"
++//#line 324 "../src/grammar/parser.y"
+{ yyval.bval = false; }
+break;
+case 129:
-+//#line 325 "src/grammar/parser.y"
++//#line 325 "../src/grammar/parser.y"
+{ yyval.bval = true; }
+break;
+case 133:
-+//#line 330 "src/grammar/parser.y"
++//#line 330 "../src/grammar/parser.y"
+{ param.modifiers.add(val_peek(0).sval); }
+break;
+//#line 1052 "Parser.java"
@@ -1175,9 +1175,9 @@
+}
+//################### END OF CLASS ##############################
--- /dev/null 2006-09-11 12:55:45.000000000 +0000
-+++ JFlexLexer.java 2007-04-11 13:36:40.000000000 +0000
++++ JFlexLexer.java 2007-04-12 07:52:33.000000000 +0000
@@ -0,0 +1,1287 @@
-+/* The following code was generated by JFlex 1.4.1 on 4/11/07 1:31 PM */
++/* The following code was generated by JFlex 1.4.1 on 4/12/07 7:37 AM */
+
+// class headers
+package com.thoughtworks.qdox.parser.impl;
@@ -1186,7 +1186,7 @@
+/**
+ * This class is a scanner generated by
+ * <a href="http://www.jflex.de/">JFlex</a> 1.4.1
-+ * on 4/11/07 1:31 PM from the specification file
++ * on 4/12/07 7:37 AM from the specification file
+ * <tt>src/grammar/lexer.flex</tt>
+ */
+public class JFlexLexer implements Lexer {
@@ -1685,7 +1685,7 @@
+ }
+
+ private void pushState(int newState) {
-+ stateStack[stateDepth++] = yy_lexical_state;
++ stateStack[stateDepth++] = zzLexicalState;
+ yybegin(newState);
+ }
+
More information about the pkg-java-commits
mailing list