Fix bug
This commit is contained in:
parent
fa1c4c636c
commit
8eb586fd80
2 changed files with 2 additions and 3 deletions
|
|
@ -449,8 +449,8 @@ proc printTree*(nimState: NimState, pnode: PNode, offset = "") =
|
|||
|
||||
proc printDebug*(nimState: NimState, node: TSNode) =
|
||||
if nimState.gState.debug:
|
||||
necho ("Input => " & nimState.getNodeVal(node)).getCommented()
|
||||
necho nimState.gState.printLisp(node).getCommented()
|
||||
necho ("Input => " & nimState.getNodeVal(node)).getCommented() & "\n" &
|
||||
nimState.gState.printLisp(node).getCommented()
|
||||
|
||||
proc printDebug*(nimState: NimState, pnode: PNode) =
|
||||
if nimState.gState.debug:
|
||||
|
|
|
|||
|
|
@ -99,5 +99,4 @@ when not declared(CIMPORT):
|
|||
|
||||
template decho*(str: untyped): untyped =
|
||||
if nimState.gState.debug:
|
||||
let gState = nimState.gState
|
||||
necho str.getCommented()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue