diff options
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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; |