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

This commit is contained in:
Timothee Cour 2020-10-25 01:56:07 +03:00 • committed by GitHub
commit 64eb62889a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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