X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=lexer.h;h=3f83f1121e12b850ba861fc29e9f9d772b9dc3ff;hb=d9c2f28d8ca23867f292a952b0543807d35e672f;hp=587b19e61ca1983e87c031131fca076824958667;hpb=fd16b92f058181088a385c3224c8814831c006d3;p=cparser diff --git a/lexer.h b/lexer.h index 587b19e..3f83f11 100644 --- a/lexer.h +++ b/lexer.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -24,6 +24,7 @@ #include "token_t.h" extern token_t lexer_token; +extern bool allow_dollar_in_symbol; void lexer_next_token(void); @@ -33,7 +34,10 @@ 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); string_t concat_strings( const string_t *s1, const string_t *s2); wide_string_t concat_string_wide_string(const string_t *s1, const wide_string_t *s2);