diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/lexer.h | 3 | ||||
-rw-r--r-- | src/include/token.h | 2 |
2 files changed, 2 insertions, 3 deletions
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' |