From 414fa58ae9f283c35c8510fc31f28ba77bb5fdf5 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Wed, 1 Apr 2009 12:56:44 +0200 Subject: expressions: kill seperate sym_type datatype for symbols Signed-off-by: Patrick McHardy --- include/expression.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/expression.h') diff --git a/include/expression.h b/include/expression.h index b0084c07..471033e7 100644 --- a/include/expression.h +++ b/include/expression.h @@ -174,7 +174,6 @@ struct expr { union { struct { /* EXPR_SYMBOL */ - const struct datatype *sym_type; const struct scope *scope; const char *identifier; }; @@ -292,7 +291,7 @@ static inline void symbol_expr_set_type(struct expr *expr, const struct datatype *dtype) { if (expr->ops->type == EXPR_SYMBOL) - expr->sym_type = dtype; + expr->dtype = dtype; } extern struct expr *constant_expr_alloc(const struct location *loc, -- cgit v1.2.3