[minor] nimVMDebug: fix codeListing formatting for jump-to-file to work (#15711)

(cherry picked from commit 64eb62889a)
This commit is contained in:
Timothee Cour
2020-10-25 01:56:07 +03:00
committed by narimiran
parent 9b37fc98a2
commit e89592787b

View File

@@ -99,7 +99,7 @@ proc codeListing(c: PCtx, result: var string, start=0; last = -1) =
inc i
else:
result.addf("\t$#\tr$#, $#", opc.toStr, x.regA, x.regBx-wordExcess)
result.add("\t#")
result.add("\t# ")
result.add(debugInfo(c, c.debug[i]))
result.add("\n")
inc i