You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2011/04/14 04:16:05 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13019669#comment-13019669 ] 

Jake Farrell commented on THRIFT-891:
-------------------------------------

Doing a quick search through the code i saw no spots where there where any comments matching /**[a-zA-Z0-9]. Are you still having a problem with this or have all the comments been fixed?

> 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
>            Priority: Minor
>             Fix For: 0.7
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira