qdox/qdox-1.5-parser_y.patch

16 lines
573 B
Diff

--- src/grammar/parser.y.sav 2004-06-20 02:12:18.000000000 +0200
+++ src/grammar/parser.y 2005-11-16 08:54:40.000000000 +0100
@@ -118,10 +118,9 @@
};
classdefinition:
- { line = lexer.getLine(); } modifiers classorinterface IDENTIFIER typeparams extends implements {
- cls.lineNumber = line;
+ modifiers classorinterface IDENTIFIER typeparams extends implements {
cls.modifiers.addAll(modifiers); modifiers.clear();
- cls.name = $4;
+ cls.name = $3;
builder.beginClass(cls);
cls = new ClassDef();
};