Fix uint32
This commit is contained in:
parent
7344042029
commit
691e7d80e5
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ proc getNodeValIf*(node: TSNode, esym: string): string =
|
|||
proc getLineCol*(node: TSNode): tuple[line, col: int] =
|
||||
result.line = 1
|
||||
result.col = 1
|
||||
for i in 0 .. node.tsNodeStartByte()-1:
|
||||
for i in 0 .. node.tsNodeStartByte().int-1:
|
||||
if gStateRT.code[i] == '\n':
|
||||
result.col = 0
|
||||
result.line += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue