summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/parse.c b/parse.c
index b011ed0..f7cdca2 100644
--- a/parse.c
+++ b/parse.c
@@ -950,12 +950,9 @@ static Status parse_decl_list(Parser *p, Declaration **decls, DeclEndKind decl_e
static Status parse_fn_expr(Parser *p, FnExpr *f) {
Tokenizer *t = p->tokr;
+ f->instance_id = 0;
f->ret_decls = NULL;
- {
- /* help types.c */
- HashTable z = {0};
- f->instances = z;
- }
+ f->instances = NULL;
/* only called when token is fn */
assert(token_is_kw(t->token, KW_FN));
++t->token;