From 8fafdb185cefee691e1c2e1990abf8cd3c97ddf4 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Mon, 12 Jun 2017 11:48:12 +0100 Subject: Remove := with var and :: with const --- src/ssa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ssa.cpp') diff --git a/src/ssa.cpp b/src/ssa.cpp index f3c187222..dd12832be 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->is_var) { + if (vd->token.kind == Token_var) { ssaModule *m = p->module; gbTempArenaMemory tmp = gb_temp_arena_memory_begin(&m->tmp_arena); if (vd->values.count == 0) { -- cgit v1.2.3