fix prod build

pull/3636/head
Alexander Medvednikov 2020-02-03 12:06:25 +01:00
parent b1bf2e0371
commit f1f8a2e4dd
1 changed files with 2 additions and 2 deletions

View File

@ -666,7 +666,7 @@ fn (p mut Parser) for_statement() ast.Stmt {
start := p.tok.lit.int() start := p.tok.lit.int()
p.check(.number) p.check(.number)
p.check(.dotdot) p.check(.dotdot)
end := p.tok.lit.int() // end := p.tok.lit.int()
// println('for start=$start $end') // println('for start=$start $end')
p.check(.number) p.check(.number)
stmts := p.parse_block() stmts := p.parse_block()
@ -677,7 +677,7 @@ fn (p mut Parser) for_statement() ast.Stmt {
} }
} }
// `for cond {` // `for cond {`
cond,ti := p.expr(0) cond,_ := p.expr(0)
stmts := p.parse_block() stmts := p.parse_block()
return ast.ForStmt{ return ast.ForStmt{
cond: cond cond: cond