vast: print Position.last_line (#10600)

pull/10602/head
Lukas Neubert 2021-06-28 15:23:34 +02:00 committed by GitHub
parent 0ac0ab6b4b
commit 806719786f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ fn (t Tree) import_symbol(node ast.ImportSymbol) &Node {
fn (t Tree) position(p token.Position) &Node {
mut obj := new_object()
obj.add('line_nr', t.number_node(p.line_nr))
obj.add('last_line', t.number_node(p.last_line))
obj.add('pos', t.number_node(p.pos))
obj.add('len', t.number_node(p.len))
return obj