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/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index e48e1d0ca..1170c40b1 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -5813,7 +5813,7 @@ void ir_build_stmt_internal(irProcedure *proc, AstNode *node) { case_end; case_ast_node(vd, ValueDecl, node); - if (vd->is_var) { + if (vd->token.kind == Token_var) { irModule *m = proc->module; gbTempArenaMemory tmp = gb_temp_arena_memory_begin(&m->tmp_arena); -- cgit v1.2.3