summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-31 23:28:03 -0500
committerpommicket <pommicket@gmail.com>2022-12-31 23:28:03 -0500
commit57834dc0b116a62b806781ddec101bca4cda3abb (patch)
treee93e85b8cd2de7198cabe11abe1a779dbdf7b7cb /base.h
parent993d4f50d13c3a703d634d989af7dd8b96ae8c3d (diff)
start moving things around
Diffstat (limited to 'base.h')
-rw-r--r--base.h30
1 files changed, 1 insertions, 29 deletions
diff --git a/base.h b/base.h
index bbb1be5..1ef6333 100644
--- a/base.h
+++ b/base.h
@@ -200,32 +200,4 @@ typedef enum {
LANG_COUNT
} Language;
-typedef struct {
- Language lang;
- char const *name;
-} LanguageName;
-
-static LanguageName const language_names[] = {
- {LANG_NONE, "None"},
- {LANG_C, "C"},
- {LANG_CPP, "C++"},
- {LANG_RUST, "Rust"},
- {LANG_PYTHON, "Python"},
- {LANG_TEX, "Tex"},
- {LANG_MARKDOWN, "Markdown"},
- {LANG_HTML, "HTML"},
- {LANG_CONFIG, "Config"},
- {LANG_JAVASCRIPT, "JavaScript"},
- {LANG_JAVA, "Java"},
- {LANG_GO, "Go"},
- {LANG_TED_CFG, "TedCfg"},
- {LANG_TYPESCRIPT, "TypeScript"},
- {LANG_JSON, "JSON"},
- {LANG_XML, "XML"},
- {LANG_GLSL, "GLSL"},
-};
-
-static_assert_if_possible(arr_count(language_names) == LANG_COUNT)
-
-
-#endif
+#endif // BASE_H_