[ https://issues.apache.org/jira/browse/THRIFT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050379#comment-13050379 ]
Lars Francke commented on THRIFT-891: ------------------------------------- Sorry to only comment now. I've tried it with Thrift 0.6.1 and it still happens with a slightly different error message: {noformat}Assertion failed: (docstring.length() <= strlen(doctext)), function clean_up_doctext, file src/main.cc, line 512.{noformat} Also checked trunk today and the same thing happens so it's not 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 > 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