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/ssa.cpp | |
| parent | 33eeb5852190ea6a363eced57050ba739061a32b (diff) | |
Prefix `type` and `let` to replace `immutable`
Diffstat (limited to 'src/ssa.cpp')
| -rw-r--r-- | src/ssa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssa.cpp b/src/ssa.cpp index c048c298b..18de4d767 100644 --- a/src/ssa.cpp +++ b/src/ssa.cpp @@ -1969,7 +1969,7 @@ void ssa_build_stmt_internal(ssaProc *p, AstNode *node) { case_end; case_ast_node(vd, ValueDecl, node); - if (vd->token.kind == Token_var) { + if (vd->token.kind != Token_const) { ssaModule *m = p->module; gbTempArenaMemory tmp = gb_temp_arena_memory_begin(&m->tmp_arena); if (vd->values.count == 0) { |