diff options
Diffstat (limited to 'identifiers.c')
-rw-r--r-- | identifiers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/identifiers.c b/identifiers.c index ebf3f0d..f491a06 100644 --- a/identifiers.c +++ b/identifiers.c @@ -13,7 +13,6 @@ typedef struct IdentTree { Array decls; /* array of declarations of this identifier */ unsigned long c_fn_reps; /* number of repetitions of this identifier in the C output--only used for functions */ size_t depth; - struct Type *type; } IdentTree; typedef IdentTree *Identifier; @@ -104,7 +103,7 @@ static char *ident_to_str(Identifier i) { } static IdentDecl *ident_decl(Identifier i) { - return (IdentDecl*)i->decls.last; + return (IdentDecl*)arr_last(&i->decls); } static void idents_free_tree(IdentTree *tree) { |