aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-06-17 15:02:24 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2007-06-18 05:24:10 -0400
commit3a46368a9f7d9f7bc162cb7cf929c37386efee23 (patch)
tree85bff0c8c68f580713d1b7a0e31fddcff23e1a26 /expression.h
parent[PATCH] tie the fields of struct in simple list (diff)
downloadsparse-3a46368a9f7d9f7bc162cb7cf929c37386efee23.tar.gz
sparse-3a46368a9f7d9f7bc162cb7cf929c37386efee23.tar.bz2
sparse-3a46368a9f7d9f7bc162cb7cf929c37386efee23.zip
[PATCH] rewrite of initializer handling
Remaining known problems: * size of array is still miscalculated in cases with missing braces * expand still mishandles [0 ... 1].a et.al. * expand still doesn't deal with overlaps correctly. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'expression.h')
-rw-r--r--expression.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/expression.h b/expression.h
index ea6ab34..1bf02c4 100644
--- a/expression.h
+++ b/expression.h
@@ -114,6 +114,7 @@ struct expression {
// EXPR_IDENTIFIER
struct /* ident_expr */ {
struct ident *expr_ident;
+ struct symbol *field;
struct expression *ident_expression;
};
// EXPR_INDEX