aboutsummaryrefslogtreecommitdiff
path: root/src/checker/stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <ginger.bill.22@gmail.com>2016-08-16 20:08:40 +0100
committergingerBill <ginger.bill.22@gmail.com>2016-08-16 20:08:40 +0100
commite8530ca883edd79c188443ced54cea2c5d3ad4ed (patch)
tree4e264d51cbbbe41f0dc7eed16bcdbb73f372c844 /src/checker/stmt.cpp
parent2d49a615630eb27d95c7cde67722f419a1977996 (diff)
Win32 Demo: OpenGL Context
Diffstat (limited to 'src/checker/stmt.cpp')
-rw-r--r--src/checker/stmt.cpp7
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;
}
}