diff options
Diffstat (limited to 'Token.c')
-rw-r--r-- | Token.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -39,12 +39,19 @@ const char *token_type_str(unsigned int type) case TOK_COMMA: return "TOK_COMMA"; case TOK_COMP_LESS: return "TOK_COMP_LESS"; case TOK_MODULO: return "TOK_MODULO"; - case TOK_STAR: return "TOK_STAR"; + case TOK_MULT: return "TOK_MULT"; case TOK_COMP_EQ: return "TOK_COMP_EQ"; case TOK_COMP_NEQ: return "TOK_COMP_NEQ"; + case TOK_COMP_LESSEQ: return "TOK_COMP_LESSEQ"; + case TOK_COMP_MOREEQ: return "TOK_COMP_MOREEQ"; + case TOK_COMP_OR: return "TOK_COMP_OR"; + case TOK_COMP_AND: return "TOK_COMP_AND"; case TOK_KW_CONST: return "TOK_KW_CONST"; case TOK_KW_VAR: return "TOK_KW_VAR"; case TOK_KW_FN: return "TOK_KW_FN"; + case TOK_KW_IF: return "TOK_KW_IF"; + case TOK_KW_ELSE: return "TOK_KW_ELSE"; + case TOK_KW_WHILE: return "TOK_KW_WHILE"; default: return "TOK_?"; } } |