1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gen: move helper fns to ast

This commit is contained in:
Joe Conigliaro
2020-03-18 11:19:23 +11:00
parent 6ca47aeb4b
commit 3fecf154aa
4 changed files with 33 additions and 38 deletions

View File

@@ -406,7 +406,7 @@ pub fn (p mut Parser) stmt() ast.Stmt {
}
}
// TODO: merge wtih AssignStmt & VarDecl
// TODO: is it possible to merge with AssignStmt?
pub fn (p mut Parser) assign_expr(left ast.Expr) ast.AssignExpr {
op := p.tok.kind
p.next()