diff options
author | pommicket <pommicket@gmail.com> | 2022-12-31 23:28:03 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-31 23:28:03 -0500 |
commit | 57834dc0b116a62b806781ddec101bca4cda3abb (patch) | |
tree | e93e85b8cd2de7198cabe11abe1a779dbdf7b7cb /base.h | |
parent | 993d4f50d13c3a703d634d989af7dd8b96ae8c3d (diff) |
start moving things around
Diffstat (limited to 'base.h')
-rw-r--r-- | base.h | 30 |
1 files changed, 1 insertions, 29 deletions
@@ -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_ |