diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-02 10:40:45 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-02 10:40:45 -0500 |
commit | b712ad8c8c949f7b715c593531fdb5f0285014a9 (patch) | |
tree | f7e5beb2ecc6394a4b2a46047cc793aedff475d0 /ted.h | |
parent | e97adda9758dab0e12e7e54608dbf9557f0928c7 (diff) |
C++ syntax highlighting done
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,7 @@ enum { SYNTAX_STATE_MULTI_LINE_COMMENT_SHIFT, SYNTAX_STATE_PREPROCESSOR_SHIFT, SYNTAX_STATE_STRING_SHIFT, + SYNTAX_STATE_RAW_STRING_SHIFT, }; enum { @@ -16,6 +17,7 @@ enum { SYNTAX_STATE_SINGLE_LINE_COMMENT = 1<<SYNTAX_STATE_SINGLE_LINE_COMMENT_SHIFT, // if you add a \ to the end of a single-line comment, it is continued to the next line. SYNTAX_STATE_PREPROCESSOR = 1<<SYNTAX_STATE_PREPROCESSOR_SHIFT, // similar to above SYNTAX_STATE_STRING = 1<<SYNTAX_STATE_STRING_SHIFT, + SYNTAX_STATE_RAW_STRING = 1<<SYNTAX_STATE_RAW_STRING_SHIFT, }; typedef u8 SyntaxState; |