aboutsummaryrefslogtreecommitdiff
path: root/src/checker/expr.c
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-12-01 22:44:00 +0000
committerGinger Bill <bill@gingerbill.org>2016-12-01 22:44:00 +0000
commit4bb45700a50b12bc5176fcb3e2f32ce5967b0ae8 (patch)
tree4c9deb387a4d8951821254e75ac109db233165d6 /src/checker/expr.c
parentbe8b9bda2f387048c53264da154a5c0373dfd316 (diff)
Semicolons are required; `when` condition for certain file scope declarations; #import syntax change
Diffstat (limited to 'src/checker/expr.c')
-rw-r--r--src/checker/expr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checker/expr.c b/src/checker/expr.c
index f8f39c1b0..f4ec7c093 100644
--- a/src/checker/expr.c
+++ b/src/checker/expr.c
@@ -149,6 +149,7 @@ void check_local_collect_entities(Checker *c, AstNodeArray nodes, DelayedEntitie
gb_temp_arena_memory_end(tmp);
case_end;
+#if 0
case_ast_node(pd, ProcDecl, node);
if (!ast_node_expect(pd->name, AstNode_Ident)) {
break;
@@ -163,6 +164,7 @@ void check_local_collect_entities(Checker *c, AstNodeArray nodes, DelayedEntitie
add_entity_and_decl_info(c, pd->name, e, d);
check_entity_decl(c, e, d, NULL, NULL);
case_end;
+#endif
case_ast_node(td, TypeDecl, node);
if (!ast_node_expect(td->name, AstNode_Ident)) {