diff options
| author | grischka <grischka> | 2009-07-06 21:16:41 +0200 |
|---|---|---|
| committer | unknown <gr@.(none)> | 2009-07-18 21:55:10 +0200 |
| commit | bed17847bdfa872e219a12237e06df83e464bdba (patch) | |
| tree | 4c3518ff2dd50b0ed657254919e12593f2f41221 /tcc.h | |
| parent | d0b432ab38b09cd167d8a8065ffe1e14878d6e2d (diff) | |
| download | tinycc-bed17847bdfa872e219a12237e06df83e464bdba.tar.gz tinycc-bed17847bdfa872e219a12237e06df83e464bdba.tar.bz2 | |
cleanup: stop abuse of sym->c for #define tokenstreams
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -198,7 +198,10 @@ typedef struct SValue { typedef struct Sym { int v; /* symbol token */ long r; /* associated register */ - long c; /* associated number */ + union { + long c; /* associated number */ + int *d; /* define token stream */ + }; CType type; /* associated type */ struct Sym *next; /* next related symbol */ struct Sym *prev; /* prev symbol in stack */ |
