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 03:59:00 UTC

[jira] [Resolved] (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 resolved THRIFT-891.
--------------------------------------
       Resolution: Cannot Reproduce
         Assignee: James E. King III
    Fix Version/s:     (was: 1.0)
                   0.12.0

Cannot reproduce this in 0.12.0.

> 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.12.0
>
>
> 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)