Update of /cvsroot/xdoclet/xjavadoc/test
In directory sc8-pr-cvs1:/tmp/cvs-serv4883/xjavadoc/test

Modified Files:
        Hello.java 
Log Message:
Allow semicolons after method blocks. The official grammar 
(http://java.sun.com/docs/books/jls/second_edition/html/syntax.doc.html) disallows it, 
but javac allows it. Therefore xjavadoc should allow it too, so bad coders can avoid 
unpleasant surprises.

Index: Hello.java
===================================================================
RCS file: /cvsroot/xdoclet/xjavadoc/test/Hello.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** Hello.java  22 Nov 2002 23:52:25 -0000      1.21
--- Hello.java  5 Jan 2003 19:24:37 -0000       1.22
***************
*** 24,28 ****
        public void firstMethod()
        {
!       }
  
     /**
--- 24,28 ----
        public void firstMethod()
        {
!       }; // The spec says semicolon is illegal here, but javac accepts it, and 
xjavadoc will too.
  
     /**



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to