[XDoclet-JIRA] Created: (XJD-71) Parser chokes on one-line comments

"Roman V. Gavrilov (JIRA)" <[email protected]> Mon, 24 Apr 2006 12:48:44 -0500 (CDT)
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <148701839.1145900924740.JavaMail.j2ee@atlassian01.managed.contegix.com>
Parser chokes on one-line comments
----------------------------------

         Key: XJD-71
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-71
     Project: XJavaDoc
        Type: Bug

    Versions: 1.1    
 Environment: PC, Java 1.5
    Reporter: Roman V. Gavrilov
 Assigned to: xdoclet-devel (Use for new issues) 


Simple parser chokes on parsing file cantaining "//" (2 bytes).

Error: 
Error parsing xjavadoc.filesystem.ReaderFile@1ef8cf3:Lexical error: xjavadoc.TokenMgrError: Lexical error at line 1, column 3.  Encountered: <EOF> after : ""

Somewhere in 'Token.getNextToken()'

File containing "/**/" (4 bytes) goes through just fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642