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

Bug
closed-fixed
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
    • 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
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks