diff options
author | koekeishiya <aasvi93@hotmail.com> | 2019-03-02 10:33:53 +0100 |
---|---|---|
committer | koekeishiya <aasvi93@hotmail.com> | 2019-03-02 10:33:53 +0100 |
commit | e23811d884b9dae356c84e4515ef52184aa3432c (patch) | |
tree | c958c07378b6b613536cceff79912382daff32ba /src/tokenize.h | |
parent | b55ce42591ac45a82d2339844631f7a50cedef90 (diff) | |
download | skhd-e23811d884b9dae356c84e4515ef52184aa3432c.tar.gz skhd-e23811d884b9dae356c84e4515ef52184aa3432c.zip |
statics..
Diffstat (limited to 'src/tokenize.h')
-rw-r--r-- | src/tokenize.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tokenize.h b/src/tokenize.h index ff82dee..4592ac9 100644 --- a/src/tokenize.h +++ b/src/tokenize.h @@ -1,7 +1,9 @@ #ifndef SKHD_TOKENIZE_H #define SKHD_TOKENIZE_H -static const char *modifier_flags_str[] = +#define global static + +global const char *modifier_flags_str[] = { "alt", "lalt", "ralt", "shift", "lshift", "rshift", @@ -10,7 +12,7 @@ static const char *modifier_flags_str[] = "fn", "hyper", "meh", }; -static const char *literal_keycode_str[] = +global const char *literal_keycode_str[] = { "return", "tab", "space", "backspace", "escape", "delete", @@ -31,6 +33,8 @@ static const char *literal_keycode_str[] = "brightness_down", "illumination_up", "illumination_down" }; +#undef global + enum token_type { Token_Identifier, |