From 8c516bec4f83c8f20c11910b21425c89d5fdc2b7 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 16 Jul 2019 13:56:48 +0200 Subject: [PATCH] [][]int --- compiler/parser.v | 1 - examples/tetris/tetris.v | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/parser.v b/compiler/parser.v index 4c8255c5bf..d86dd1982a 100644 --- a/compiler/parser.v +++ b/compiler/parser.v @@ -1269,7 +1269,6 @@ fn (p mut Parser) name_expr() string { hack_lit := p.lit ph := p.cgen.add_placeholder() // amp - ptr := p.tok == .amp deref := p.tok == .mul if ptr || deref { diff --git a/examples/tetris/tetris.v b/examples/tetris/tetris.v index d51fac8d2f..86d5713229 100644 --- a/examples/tetris/tetris.v +++ b/examples/tetris/tetris.v @@ -89,8 +89,7 @@ struct Game { // -1 0 0 -1 // -1 0 0 -1 // -1 -1 -1 -1 - // TODO: field [][]int - field array_array_int + field [][]int // TODO: tetro Tetro tetro []Block // TODO: tetros_cache []Tetro