cleanup: stop abuse of sym->c for #define tokenstreams

This commit is contained in:
grischka
2009-07-06 21:16:41 +02:00
committed by unknown
parent d0b432ab38
commit bed17847bd
3 changed files with 17 additions and 9 deletions

5
tcc.h
View File

@ -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 */