From 6c468c10f70d74e962591a0584765e42ce1bcaf2 Mon Sep 17 00:00:00 2001 From: grischka Date: Mon, 5 Jun 2017 13:21:39 +0200 Subject: tccpp: allow "#define X defined Y ..." That means: we do not macro-expand the argument of 'defined' Also: store the last token position into the TokenString structure in order to get rid of the tok_last function. --- tcc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index cbced87..67d09a0 100644 --- a/tcc.h +++ b/tcc.h @@ -561,6 +561,7 @@ typedef struct ParseState { typedef struct TokenString { int *str; int len; + int lastlen; int allocated_len; int last_line_num; /* used to chain token-strings with begin/end_macro() */ -- cgit v1.3.1