[ 
https://issues.apache.org/jira/browse/THRIFT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Francke updated THRIFT-891:
--------------------------------

    Description: 
There's a problem with some comments.

A comment like 
{noformat}
/** foobar **/
{noformat} 
works but
{noformat}
/**foobar **/
{noformat}
 does not. Basically if there are two {{*}} at the beginning it must be 
followed by a space to parse otherwise I get the following:

{noformat}
thrift: src/main.cc:512: char* clean_up_doctext(char*): Assertion 
`docstring.length() <= strlen(doctext)' failed.
Aborted
{noformat}

  was:
There's a problem with some comments.

A comment like 
{noformat}
/** foobar **/
{noformat} 
works but
{noformat}
/**foobar **/
{noformat}
 does not. Basically if there are two {{*}} at the beginning it must be 
followed by a space to parse otherwise I get the following:

{{thrift: src/main.cc:512: char* clean_up_doctext(char*): Assertion 
`docstring.length() <= strlen(doctext)' failed.
Aborted}}


> Comments are not properly handled in some cases
> -----------------------------------------------
>
>                 Key: THRIFT-891
>                 URL: https://issues.apache.org/jira/browse/THRIFT-891
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Lars Francke
>            Priority: Minor
>
> There's a problem with some comments.
> A comment like 
> {noformat}
> /** foobar **/
> {noformat} 
> works but
> {noformat}
> /**foobar **/
> {noformat}
>  does not. Basically if there are two {{*}} at the beginning it must be 
> followed by a space to parse otherwise I get the following:
> {noformat}
> thrift: src/main.cc:512: char* clean_up_doctext(char*): Assertion 
> `docstring.length() <= strlen(doctext)' failed.
> Aborted
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to