From 0a35f9d66e15e7daadc329e7fc34b2fe5a8cbce1 Mon Sep 17 00:00:00 2001 From: grischka Date: Mon, 11 May 2009 18:45:56 +0200 Subject: move static prototypes to libtcc.c --- tccpp.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'tccpp.c') diff --git a/tccpp.c b/tccpp.c index b327a64..d00897c 100644 --- a/tccpp.c +++ b/tccpp.c @@ -32,6 +32,17 @@ static char tok_two_chars[] = "<=\236>=\235!=\225&&\240||\241++\244--\242==\224< static unsigned char isidnum_table[256-CH_EOF]; +struct macro_level { + struct macro_level *prev; + int *p; +}; + +static void next_nomacro(void); +static void next_nomacro_spc(void); +static void macro_subst(TokenString *tok_str, Sym **nested_list, + const int *macro_str, struct macro_level **can_read_stream); + + /* allocate a new token */ static TokenSym *tok_alloc_new(TokenSym **pts, const char *str, int len) { @@ -439,12 +450,6 @@ static uint8_t *parse_comment(uint8_t *p) #define cinp minp -/* space exlcuding newline */ -LIBTCCAPI static inline int is_space(int ch) -{ - return ch == ' ' || ch == '\t' || ch == '\v' || ch == '\f' || ch == '\r'; -} - static inline void skip_spaces(void) { while (is_space(ch)) -- cgit v1.3.1