Bud Bundy created THRIFT-1755:
---------------------------------

             Summary: Comment parsing bug
                 Key: THRIFT-1755
                 URL: https://issues.apache.org/jira/browse/THRIFT-1755
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Compiler, Java - Compiler
    Affects Versions: 0.9
         Environment: Windows 7
            Reporter: Bud Bundy
            Priority: Minor


thrift-0.9.0.exe crashes when trying to parse a thrift description file with a 
particular style of comment.

The crash message is:
{code}
Assertion failed: docstring.length() <= strlen(doctext), file src/main.cc, line 
548

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
{code}

Easily reproducible with the following definitions file:
{code}
service RenderServerAPI
{
        /**SomeTextHere*/
}
{code}

Note that if you put a space like so /**SomeTextHere */, it compiles.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to