This commit is contained in:
Ganesh Viswanathan 2020-01-15 16:48:45 -06:00
commit 8eb586fd80
2 changed files with 2 additions and 3 deletions

View file

@ -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:

View file

@ -99,5 +99,4 @@ when not declared(CIMPORT):
template decho*(str: untyped): untyped =
if nimState.gState.debug:
let gState = nimState.gState
necho str.getCommented()