diff options
author | 2007-06-16 15:26:45 -0400 | |
---|---|---|
committer | 2007-06-18 03:01:09 -0400 | |
commit | 5a3a58e870b7f61296ffed701e3c6c469fcfa530 (patch) | |
tree | f9e7783219e709a09476469ec3b1a5af92bbef17 /symbol.h | |
parent | [PATCH] make copying of EXPR_INDEX non-lazy (diff) | |
download | sparse-5a3a58e870b7f61296ffed701e3c6c469fcfa530.tar.gz sparse-5a3a58e870b7f61296ffed701e3c6c469fcfa530.tar.bz2 sparse-5a3a58e870b7f61296ffed701e3c6c469fcfa530.zip |
[PATCH] tie the fields of struct in simple list
get a linked list through fields of struct, skipping unnamed bitfields.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'symbol.h')
-rw-r--r-- | symbol.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -116,7 +116,11 @@ struct symbol { 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; - struct symbol *same_symbol; + union { + struct symbol *same_symbol; + struct symbol *next_subobject; + }; + struct symbol_op *op; union { |