aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-06-16 15:26:45 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2007-06-18 03:01:09 -0400
commit5a3a58e870b7f61296ffed701e3c6c469fcfa530 (patch)
treef9e7783219e709a09476469ec3b1a5af92bbef17 /symbol.h
parent[PATCH] make copying of EXPR_INDEX non-lazy (diff)
downloadsparse-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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/symbol.h b/symbol.h
index 79e88e1..157346d 100644
--- a/symbol.h
+++ b/symbol.h
@@ -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 {