diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-08-24 13:13:08 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-08-25 20:38:15 +0200 |
commit | ba38eff1c22cab91fc1a47a24dc7c03a458640aa (patch) | |
tree | c518e0c53d4c8ff3a36c516cfe5b33619847ed29 /lexer.h | |
parent | 4861601872a5c7f0d10c94251f7a2c3a08da05d4 (diff) |
lexer.c, eval.c: move T_EXCEPTION definition to lexer header
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lexer.h')
-rw-r--r-- | lexer.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -19,7 +19,10 @@ #include "ast.h" -extern const char *tokennames[69]; +#define __T_MAX 69 +#define T_EXCEPTION (__T_MAX + 0) + +extern const char *tokennames[__T_MAX]; bool utf8enc(char **out, int *rem, int code); |