diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-12 12:56:47 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-12 12:56:47 +0100 |
| commit | 0c05fc14327631b0fa70eadf60426d507812c4d5 (patch) | |
| tree | 8bb33e68c87221581da6ca6ec83b80b36de4bddc /src/check_decl.cpp | |
| parent | 33eeb5852190ea6a363eced57050ba739061a32b (diff) | |
Prefix `type` and `let` to replace `immutable`
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index a4562404e..c4927bdd6 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -178,6 +178,7 @@ void check_const_decl(Checker *c, Entity *e, AstNode *type_expr, AstNode *init, if (init != NULL) { check_expr_or_type(c, &operand, init); } +#if 0 if (operand.mode == Addressing_Type) { e->kind = Entity_TypeName; @@ -186,6 +187,7 @@ void check_const_decl(Checker *c, Entity *e, AstNode *type_expr, AstNode *init, check_type_decl(c, e, d->type_expr, named_type); return; } +#endif check_init_constant(c, e, &operand); |