diff options
Diffstat (limited to 'src/tokenize.h')
-rw-r--r-- | src/tokenize.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tokenize.h b/src/tokenize.h index 52d76fc..13d7001 100644 --- a/src/tokenize.h +++ b/src/tokenize.h @@ -1,9 +1,7 @@ #ifndef SKHD_TOKENIZE_H #define SKHD_TOKENIZE_H -#define global static - -global const char *modifier_flags_str[] = +static const char *modifier_flags_str[] = { "alt", "lalt", "ralt", "shift", "lshift", "rshift", @@ -12,7 +10,7 @@ global const char *modifier_flags_str[] = "fn", "hyper", "meh", }; -global const char *literal_keycode_str[] = +static const char *literal_keycode_str[] = { "return", "tab", "space", "backspace", "escape", "delete", @@ -33,8 +31,6 @@ global const char *literal_keycode_str[] = "brightness_down", "illumination_up", "illumination_down" }; -#undef global - enum token_type { Token_Identifier, |