diff options
| -rw-r--r-- | nimterop/getters.nim | 4 | ||||
| -rw-r--r-- | nimterop/globals.nim | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/nimterop/getters.nim b/nimterop/getters.nim index 94bfbb3..f123336 100644 --- a/nimterop/getters.nim +++ b/nimterop/getters.nim @@ -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: diff --git a/nimterop/globals.nim b/nimterop/globals.nim index cc7d499..9db0013 100644 --- a/nimterop/globals.nim +++ b/nimterop/globals.nim @@ -99,5 +99,4 @@ when not declared(CIMPORT): template decho*(str: untyped): untyped = if nimState.gState.debug: - let gState = nimState.gState necho str.getCommented() |
