fix prod build
parent
b1bf2e0371
commit
f1f8a2e4dd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue