WIP moving all analysis to IR

This commit is contained in:
Andrew Kelley
2016-11-04 15:36:30 -04:00
parent bc6c33b1b6
commit a2e3293930
8 changed files with 3439 additions and 4104 deletions

View File

@@ -230,9 +230,7 @@ static AstNode *create_type_decl_node(Context *c, const char *name, AstNode *chi
}
static AstNode *make_type_node(Context *c, TypeTableEntry *type_entry) {
AstNode *node = create_node(c, NodeTypeSymbol);
node->data.symbol_expr.override_type_entry = type_entry;
return node;
zig_panic("TODO bypass AST in parseh");
}
static AstNode *create_fn_proto_node(Context *c, Buf *name, TypeTableEntry *fn_type) {