prepare Nim codebase for upcoming parser changes
This commit is contained in:
parent
3e72c98d49
commit
0834cd63d9
26 changed files with 46 additions and 46 deletions
|
|
@ -16,7 +16,7 @@ proc reprInt(x: int64): string {.compilerproc.} = return $x
|
|||
proc reprFloat(x: float): string {.compilerproc.} = return $x
|
||||
|
||||
proc reprPointer(x: pointer): string {.compilerproc.} =
|
||||
var buf: array [0..59, char]
|
||||
var buf: array[0..59, char]
|
||||
discard c_sprintf(buf, "%p", x)
|
||||
return $buf
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ proc `$`(x: uint64): string =
|
|||
if x == 0:
|
||||
result = "0"
|
||||
else:
|
||||
var buf: array [60, char]
|
||||
var buf: array[60, char]
|
||||
var i = 0
|
||||
var n = x
|
||||
while n != 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue