Make types globally visible, add more type(def)s.
[cparser] / lexer.h
diff --git a/lexer.h b/lexer.h
index 3d8cfde..34d965d 100644 (file)
--- a/lexer.h
+++ b/lexer.h
@@ -4,9 +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(token_t *token);
+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