You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/03 12:28:00 UTC

[jira] [Updated] (THRIFT-891) Comments are not properly handled in some cases

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

James E. King III updated THRIFT-891:
-------------------------------------
    Fix Version/s:     (was: 0.12.0)
                   0.9.2

> 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
>          Components: Compiler (General)
>    Affects Versions: 0.4
>            Reporter: Lars Francke
>            Assignee: James E. King III
>            Priority: Minor
>             Fix For: 0.9.2
>
>
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)