diff options
| author | grischka <grischka> | 2010-01-14 20:58:03 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2010-01-14 20:59:44 +0100 |
| commit | 4e5170d4a59a6cadb3d11d918f5dd674141e3266 (patch) | |
| tree | 0bead08f4d436e581dcdec5f352647afb6d0a00b /tcc.h | |
| parent | 280e20b1d3a6c5ef88db4bfb074be771e595179f (diff) | |
| download | tinycc-4e5170d4a59a6cadb3d11d918f5dd674141e3266.tar.gz tinycc-4e5170d4a59a6cadb3d11d918f5dd674141e3266.tar.bz2 | |
tccpp: convert TOK_GET macro into function
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -191,7 +191,7 @@ typedef union CValue { unsigned long long ull; struct CString *cstr; void *ptr; - int tab[1]; + int tab[2]; } CValue; /* value on stack */ @@ -334,7 +334,7 @@ typedef struct BufferedFile { /* parsing state (used to save parser state to reparse part of the source several times) */ typedef struct ParseState { - int *macro_ptr; + const int *macro_ptr; int line_num; int tok; CValue tokc; @@ -920,7 +920,7 @@ ST_FUNC int ieee_finite(double d); ST_DATA struct BufferedFile *file; ST_DATA int ch, tok; ST_DATA CValue tokc; -ST_DATA int *macro_ptr; +ST_DATA const int *macro_ptr; ST_DATA int parse_flags; ST_DATA int tok_flags; ST_DATA CString tokcstr; /* current parsed string, if any */ |
