DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35581>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35581 Summary: ANTLR class and 'extends' cannot span multiple lines Product: Ant Version: 1.6.5 Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] It seems the ant-antlr optional task does a little bit of parsing of the ANTLR grammar file, probably to detemine dependencies. But it is a bit more strict on the content than the actual ANTLR tool in that it requires that the class declaration and its 'extends' declaration lie on the same line. Otherwise, the dreaded 'Unable to determine generated class' is thrown. For instance a file containing : class MyLexer extends Lexer; will work. But one containing : class MyLexer extendsLexer; won't with ant. It still perfectly works with standalone ANTLR. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]