diff options
author | 2008-06-11 16:15:58 +0400 | |
---|---|---|
committer | 2008-06-11 10:08:31 -0700 | |
commit | 6a0698873c43e41c78abf3231c6d5a7863bda897 (patch) | |
tree | 369051d9f73d6a4f5e901b4348b36f46fe8a45d7 /symbol.h | |
parent | fix bug in context tracking code (diff) | |
download | sparse-6a0698873c43e41c78abf3231c6d5a7863bda897.tar.gz sparse-6a0698873c43e41c78abf3231c6d5a7863bda897.tar.bz2 sparse-6a0698873c43e41c78abf3231c6d5a7863bda897.zip |
Remove symbol.id_list
It was only used to check if the symbol was already bound, and would
cause significant complication in the serialization code.
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Diffstat (limited to 'symbol.h')
-rw-r--r-- | symbol.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -110,12 +110,11 @@ extern int expand_constant_p(struct expression *expr, int cost); struct symbol { enum type type:8; enum namespace namespace:9; - unsigned char used:1, attr:2, enum_member:1; + unsigned char used:1, attr:2, enum_member:1, bound:1; struct position pos; /* Where this symbol was declared */ struct position endpos; /* Where this symbol ends*/ struct ident *ident; /* What identifier this symbol is associated with */ struct symbol *next_id; /* Next semantic symbol that shares this identifier */ - struct symbol **id_list; /* Back pointer to symbol list head */ struct symbol *replace; /* What is this symbol shadowed by in copy-expression */ struct scope *scope; union { |