X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=lexer.h;h=34d965d7c5dba0037f9fdf2f0ac66fdf3bfc3c42;hb=315d496108eb191418160aea57f3ab916e5770dc;hp=d3ffd39a8c3c8befaffed7ef1a050a5a9c79a935;hpb=9e29e9c33f6511c4583e5b8ed83194d433e82c45;p=cparser diff --git a/lexer.h b/lexer.h index d3ffd39..34d965d 100644 --- a/lexer.h +++ b/lexer.h @@ -4,6 +4,18 @@ #include "symbol_table_t.h" #include "token_t.h" -void lexer_next_token(token_t *token); +extern token_t lexer_token; + +void lexer_next_token(void); + +/* for debugging */ +void lexer_next_preprocessing_token(void); + +void init_lexer(void); +void exit_lexer(void); + +void lexer_open_stream(FILE *stream, const char *input_name); + +const char *concat_strings(const char *string1, const char *string2); #endif