X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=lexer.h;h=bc9d297cb4f6879080de01b754620cdaedae7e47;hb=127a634aa53da8c37ee50f365184cccad67df0d8;hp=a34d591276d254c82f5e9058514aab1ffe3d1935;hpb=2beaa4f65961fe297663e1cec9e5632b7f3e1cba;p=cparser diff --git a/lexer.h b/lexer.h index a34d591..bc9d297 100644 --- a/lexer.h +++ b/lexer.h @@ -22,6 +22,7 @@ #include "symbol_table_t.h" #include "token_t.h" +#include "input.h" extern token_t lexer_token; extern bool allow_dollar_in_symbol; @@ -34,10 +35,7 @@ void lexer_next_preprocessing_token(void); void init_lexer(void); void exit_lexer(void); -void select_input_encoding(char const* encoding); - -void lexer_open_stream(FILE *stream, const char *input_name); -void lexer_open_buffer(const char *buffer, size_t len, const char *input_name); +void lexer_switch_input(input_t *input, const char *input_name); string_t concat_strings(const string_t *s1, const string_t *s2); string_t make_string(const char *str);