Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-891

Comments are not properly handled in some cases

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.4
    • Fix Version/s: 0.9.2
    • Component/s: Compiler (General)
    • Labels:
      None

      Description

      There's a problem with some comments.

      A comment like

      /** foobar **/
      

      works but

      /**foobar **/
      

      does not. Basically if there are two * at the beginning it must be followed by a space to parse otherwise I get the following:

      thrift: src/main.cc:512: char* clean_up_doctext(char*): Assertion `docstring.length() <= strlen(doctext)' failed.
      Aborted
      

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jking3 James E. King III
              Reporter:
              larsfrancke Lars Francke

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment