diff options
| author | gingerBill <ginger.bill.22@gmail.com> | 2016-08-16 20:08:40 +0100 |
|---|---|---|
| committer | gingerBill <ginger.bill.22@gmail.com> | 2016-08-16 20:08:40 +0100 |
| commit | e8530ca883edd79c188443ced54cea2c5d3ad4ed (patch) | |
| tree | 4e264d51cbbbe41f0dc7eed16bcdbb73f372c844 /src/checker/stmt.cpp | |
| parent | 2d49a615630eb27d95c7cde67722f419a1977996 (diff) | |
Win32 Demo: OpenGL Context
Diffstat (limited to 'src/checker/stmt.cpp')
| -rw-r--r-- | src/checker/stmt.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/checker/stmt.cpp b/src/checker/stmt.cpp index 2fbe8e1d3..0ae500efc 100644 --- a/src/checker/stmt.cpp +++ b/src/checker/stmt.cpp @@ -878,12 +878,5 @@ void check_stmt(Checker *c, AstNode *node, u32 flags) { add_entity(c, c->context.scope, td->name, e); check_type_decl(c, e, td->type, NULL); case_end; - - case_ast_node(ad, AliasDecl, node); - ast_node(name, Ident, ad->name); - Entity *e = make_entity_alias_name(c->allocator, c->context.scope, name->token, NULL); - add_entity(c, c->context.scope, ad->name, e); - check_alias_decl(c, e, ad->type, NULL); - case_end; } } |