From c0a2fd32d69afa8c9c5b31fa763c81fffe7f99f6 Mon Sep 17 00:00:00 2001 From: s-over-4 Date: Sat, 10 Jun 2023 18:30:31 -0400 Subject: ah --- src/include/lexer.h | 3 +-- src/include/token.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/lexer.h b/src/include/lexer.h index a86f5bb..853a35c 100644 --- a/src/include/lexer.h +++ b/src/include/lexer.h @@ -28,8 +28,7 @@ extern char* lexer_get_c_as_string (lexer_t* lexer); // collectors extern token_t* lexer_get_arr (lexer_t* lexer); -extern token_t* lexer_get_str (lexer_t* lexer); -extern token_t* lexer_get_com (lexer_t* lexer); +extern token_t* lexer_collect (lexer_t* lexer, char end_char, int fskip, int lskip, int type); // special def collectors extern token_t* lexer_get_directive (lexer_t* lexer); diff --git a/src/include/token.h b/src/include/token.h index 8964ccd..b58233d 100644 --- a/src/include/token.h +++ b/src/include/token.h @@ -10,7 +10,7 @@ #define TOKEN_CHAR_FIRST_CHAR_INT "0123456789" typedef struct TOKEN_STRUC { - enum { + enum TOKEN_ENUM { TOKEN_KEYWORD, // keyword TOKEN_PRIM_STR_DELIM, // ' TOKEN_PRIM_STR, // 'string' -- cgit v1.2.3