diff options
| author | grischka <grischka> | 2017-06-05 13:21:39 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2017-07-09 11:46:14 +0200 |
| commit | 6c468c10f70d74e962591a0584765e42ce1bcaf2 (patch) | |
| tree | 2d56ee0017b4b95afdd1bd47b8f2c8131ed06418 /tcc.h | |
| parent | 824dcebe59f52a686b003214c1af0633cf5fe89e (diff) | |
| download | tinycc-6c468c10f70d74e962591a0584765e42ce1bcaf2.tar.gz tinycc-6c468c10f70d74e962591a0584765e42ce1bcaf2.tar.bz2 | |
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.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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() */ |
