From 5cc450b6e8554f5d982f444b9026447971c94024 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 16 Feb 2022 20:44:26 +0100 Subject: Huh --- inc/tokenize.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'inc/tokenize.h') diff --git a/inc/tokenize.h b/inc/tokenize.h index f5e8600..61fcd67 100644 --- a/inc/tokenize.h +++ b/inc/tokenize.h @@ -10,17 +10,19 @@ enum token_type { TYPE, TYPEDELIM, - PARAM, IDENT, + IDENTDELIM, + PARAM, + + STRING, + NUMBER, OPERATOR, LPAREN, RPAREN, - EQUAL, NEWLINE, - EOL, END, SOMETHING, @@ -32,7 +34,7 @@ struct token { ctx_string string; }; -void token_print(struct ctx *ctx, struct token *tok); +void token_print(struct ctx *ctx, struct token *token); void tokenize(struct ctx *ctx); #endif -- cgit v1.2.3