summaryrefslogtreecommitdiff
path: root/identifiers.c
diff options
context:
space:
mode:
Diffstat (limited to 'identifiers.c')
-rw-r--r--identifiers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/identifiers.c b/identifiers.c
index d7ad02d..b59e67f 100644
--- a/identifiers.c
+++ b/identifiers.c
@@ -148,6 +148,7 @@ static void ident_add_decl(Identifier i, struct Declaration *d, struct Block *b)
IdentDecl *id_decl = arr_add(&i->decls);
id_decl->decl = d;
id_decl->scope = b;
+ id_decl->flags = 0;
}
static IdentDecl *ident_decl(Identifier i) {