Menu

#990 C++ lexer: preprocessor doc comment (patch)

Completed
closed
5
2014-12-10
2013-05-12
Alpha
No

Because of SCE_C_PREPROCESSORCOMMENT, documentation stream comments cannot appear on the same line as preprocessor directives.

:::C++
#define foo  /** not doc comment */
int bar = 0; /** is doc comment */
1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2013-05-15

    Committed as [9f8ac1].

     

    Related

    Commit: [9f8ac1]

  • Neil Hodgson

    Neil Hodgson - 2013-05-15
    • labels: --> scintilla, lexer, cpp
    • status: open --> accepted
    • assigned_to: Neil Hodgson
     
  • Alpha

    Alpha - 2013-05-15

    Oops... problem code identified. Fix attached.

    :::C++
    #define foo /**/
    
     
    • Neil Hodgson

      Neil Hodgson - 2013-05-16

      Committed as [61c1b3].

       

      Related

      Commit: [61c1b3]

  • Neil Hodgson

    Neil Hodgson - 2013-05-28
    • status: accepted --> closed
     

Log in to post a comment.