I tried to apply this patch. After attempting to recreate a failing testcase. Well modify an existing one to fail at least:
public void testAnnotationTokens() throws Exception {
String in = ""
+ "@Copyright (year = 2004, month = \"Jan\")\n"
+ "@Note(\"Just ignore me\")\n"
+ "@foo.Bar\n"
+ "public class LexerTest extends TestCase {}\n";
Lexer lexer = new JFlexLexer(new StringReader(in));
assertLex(Parser.AT, lexer);
assertLex(Parser.IDENTIFIER, "Copyright", lexer);
assertLex(Parser.PARENOPEN, lexer);
assertLex(Parser.IDENTIFIER, "year", lexer);
assertLex(Parser.COMMA, lexer);
assertLex(Parser.IDENTIFIER, "month", lexer);
assertLex(Parser.PARENCLOSE, lexer);
assertLex(Parser.AT, lexer);
assertLex(Parser.IDENTIFIER, "Note", lexer);
assertLex(Parser.PARENOPEN, lexer);
assertLex(Parser.PARENCLOSE, lexer);
assertLex(Parser.AT, lexer);
assertLex(Parser.IDENTIFIER, "foo.Bar", lexer);
assertLex(Parser.PUBLIC, lexer);
assertLex(Parser.CLASS, lexer);
assertLex(Parser.IDENTIFIER, "LexerTest", lexer);
assertLex(Parser.EXTENDS, lexer);
assertLex(Parser.IDENTIFIER, "TestCase", lexer);
assertLex(Parser.BRACEOPEN, lexer);
assertLex(Parser.BRACECLOSE, lexer);
assertLex(0, lexer);
}
The thing sure fails as expected, but after the application of the patch (and the regeneration of Parser.java) it does not pass.
Thus I cannot apply. I need help to work thru this 
I tried to apply this patch. After attempting to recreate a failing testcase. Well modify an existing one to fail at least:
public void testAnnotationTokens() throws Exception {
String in = ""
+ "@Copyright (year = 2004, month = \"Jan\")\n"
+ "@Note(\"Just ignore me\")\n"
+ "@foo.Bar\n"
+ "public class LexerTest extends TestCase {}\n";
Lexer lexer = new JFlexLexer(new StringReader(in));
assertLex(Parser.AT, lexer);
assertLex(Parser.IDENTIFIER, "Copyright", lexer);
assertLex(Parser.PARENOPEN, lexer);
assertLex(Parser.IDENTIFIER, "year", lexer);
assertLex(Parser.COMMA, lexer);
assertLex(Parser.IDENTIFIER, "month", lexer);
assertLex(Parser.PARENCLOSE, lexer);
assertLex(Parser.AT, lexer);
assertLex(Parser.IDENTIFIER, "Note", lexer);
assertLex(Parser.PARENOPEN, lexer);
assertLex(Parser.PARENCLOSE, lexer);
assertLex(Parser.AT, lexer);
assertLex(Parser.IDENTIFIER, "foo.Bar", lexer);
assertLex(Parser.PUBLIC, lexer);
assertLex(Parser.CLASS, lexer);
assertLex(Parser.IDENTIFIER, "LexerTest", lexer);
assertLex(Parser.EXTENDS, lexer);
assertLex(Parser.IDENTIFIER, "TestCase", lexer);
assertLex(Parser.BRACEOPEN, lexer);
assertLex(Parser.BRACECLOSE, lexer);
assertLex(0, lexer);
}
The thing sure fails as expected, but after the application of the patch (and the regeneration of Parser.java) it does not pass.
Thus I cannot apply. I need help to work thru this