#1538 cpp lexer: PP-line comments lost from EOL string (patch included)

Bug
closed-fixed
Neil Hodgson
5
2014-08-13
2013-10-13
Alpha
No

Compare:

#ifdef TEST
#include "test.h"
int main() { return 42; }
#endif // TEST

to:

#ifdef TEST
#include "test.h
int main() { return 42; }
#endif // TEST

In the second sample, Scintilla marks the comment as preprocessor.

1 Attachments

Discussion

  • Neil Hodgson
    Neil Hodgson
    2013-10-16

    Committed as [f5e8d9].

     

    Related

    Commit: [f5e8d9]

  • Neil Hodgson
    Neil Hodgson
    2013-10-16

    • labels: Scintilla --> Scintilla, lexer, cpp
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson
    Neil Hodgson
    2013-12-12

    • status: open-fixed --> closed-fixed