summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-02 10:40:45 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-02 10:40:45 -0500
commitb712ad8c8c949f7b715c593531fdb5f0285014a9 (patch)
treef7e5beb2ecc6394a4b2a46047cc793aedff475d0 /ted.h
parente97adda9758dab0e12e7e54608dbf9557f0928c7 (diff)
C++ syntax highlighting done
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 5858ba7..6558842 100644
--- a/ted.h
+++ b/ted.h
@@ -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;