fix 32bit builds
This commit is contained in:
parent
51180f6373
commit
3a3c1f5e57
2 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ type
|
|||
|
||||
Ast* = object
|
||||
sym*: Sym
|
||||
start*, stop*: uint32
|
||||
start*, stop*: int
|
||||
parent*: ref Ast
|
||||
children*: seq[ref Ast]
|
||||
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@ proc readFromTokens(): ref Ast =
|
|||
result.sym = parseEnum[Sym](gTokens[idx+1])
|
||||
except:
|
||||
result.sym = IGNORED
|
||||
result.start = gTokens[idx+2].parseInt().uint32
|
||||
result.stop = gTokens[idx+3].parseInt().uint32
|
||||
result.start = gTokens[idx+2].parseInt()
|
||||
result.stop = gTokens[idx+3].parseInt()
|
||||
result.children = @[]
|
||||
idx += 4
|
||||
while gTokens[idx] != ")":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue