Update of /cvsroot/xdoclet/xjavadoc/javacc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13308
Modified Files: Java1.5x.jjt Log Message: Fixed XJD-27 grammar issue (parser failed when single line comment at the end of file with no trailing newline) Index: Java1.5x.jjt =================================================================== RCS file: /cvsroot/xdoclet/xjavadoc/javacc/Java1.5x.jjt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** Java1.5x.jjt 11 Jun 2005 10:38:52 -0000 1.2 --- Java1.5x.jjt 17 Jun 2005 12:53:29 -0000 1.3 *************** *** 173,178 **** } - - private static final String printModifiers(int modifiers) { --- 173,176 ---- *************** *** 196,201 **** } - - private static final void updateModifiers(int modifiers, AbstractProgramElement element) { --- 194,197 ---- *************** *** 218,226 **** } - - - - - /** * Should be called before UnmodifiedClassDeclaration or UnmodifiedInterfaceDeclaration --- 214,217 ---- *************** *** 345,349 **** SPECIAL_TOKEN : { ! <SINGLE_LINE_COMMENT: "\n" | "\r" | "\r\n" > : DEFAULT } --- 336,340 ---- SPECIAL_TOKEN : { ! <SINGLE_LINE_COMMENT: (~["\n","\r"])* ("\n"|"\r"|"\r\n")?> : DEFAULT } *************** *** 363,367 **** MORE : { ! < ~[] > } --- 354,358 ---- MORE : { ! < ~[] > } *************** *** 1224,1228 **** if( _sourceClassStack.size() != 0 ) { ! throw new IllegalStateException("There should be no more classes on the stack:" + _sourceClassStack.size()); } } --- 1215,1219 ---- if( _sourceClassStack.size() != 0 ) { ! throw new IllegalStateException("There should be no more classes on the stack: " + _sourceClassStack.size()); } } ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel