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/06/01 22:41:47 UTC
[jira] [Closed] (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 ]
Jake Farrell closed THRIFT-891.
-------------------------------
Resolution: Fixed
Assignee: Jake Farrell
Looking through the code base again i did not find any cases where this was an issue anymore. If you are still having problems generating the doctext please supply a list of the offending files and I will be glad to fix them for you.
> 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: Jake Farrell
> 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