macro tests almost green
This commit is contained in:
parent
c30f6cfcf1
commit
99352c1e4c
11 changed files with 57 additions and 39 deletions
|
|
@ -7,7 +7,7 @@ proc dumpit(n: PNimrodNode): string {.compileTime.} =
|
|||
result = $n.kind
|
||||
add(result, "(")
|
||||
case n.kind
|
||||
of nnkEmpty: nil # same as nil node in this representation
|
||||
of nnkEmpty: discard # same as nil node in this representation
|
||||
of nnkNilLit: add(result, "nil")
|
||||
of nnkCharLit..nnkInt64Lit: add(result, $n.intVal)
|
||||
of nnkFloatLit..nnkFloat64Lit: add(result, $n.floatVal)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue