Assertion failed: (sc.state == (SCE_C_PREPROCESSOR|inactiveFlag)), function Lex, file /Users/neil/merc/scintilla/lexers/LexCPP.cxx, line 1311.
How to trigger:
#elseI also experienced same assert trigger with these sequences (but I cannot reproduce when filling this report so some steps must be missing)
#endif (no matching #if or #else)assert is caught upon hitting return
working on a C file
The asserts should not have been enabled for releases and that will be fixed in the next release.
These are situations that are invalid by the C language rules, #else must follow a #if, so the correct behaviour (whether to show the following code as active) is uncertain.
The asserts should not have been compiled in for releases and that should be fixed in the next release.
These are situations that are invalid by the C language rules, #else must follow a #if, so the correct behaviour is uncertain.