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

token: rename Position to Pos, rename position() to pos() (#13279)

This commit is contained in:
yuyi
2022-01-26 18:36:28 +08:00
committed by GitHub
parent d71fc0d13f
commit 291a1ffd8d
61 changed files with 958 additions and 962 deletions

View File

@@ -657,9 +657,9 @@ pub fn (mut t Transformer) infix_expr(mut node ast.InfixExpr) ast.Expr {
node.left = t.expr(mut node.left)
node.right = t.expr(mut node.right)
mut pos := node.left.position()
mut pos := node.left.pos()
pos.extend(node.pos)
pos.extend(node.right.position())
pos.extend(node.right.pos())
if t.pref.is_debug {
return node