summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-02 10:00:29 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-02 10:00:29 -0500
commite97adda9758dab0e12e7e54608dbf9557f0928c7 (patch)
tree79498ed20025f96a7a3e0ee0880361bf37041ea8 /ted.h
parent5882fac07ab1215ec4bbc859c693b28b06e6b469 (diff)
C++ highlighting, except for raw strings
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 4ab1fea..5858ba7 100644
--- a/ted.h
+++ b/ted.h
@@ -23,6 +23,7 @@ typedef u8 SyntaxState;
ENUM_U16 {
LANG_NONE,
LANG_C,
+ LANG_CPP,
LANG_COUNT
} ENUM_U16_END(Language);
@@ -34,6 +35,7 @@ typedef struct {
static LanguageName const language_names[] = {
{LANG_NONE, "None"},
{LANG_C, "C"},
+ {LANG_CPP, "C++"},
};
ENUM_U8 {