summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-10-25 01:56:07 +0300
committerGitHub <noreply@github.com>2020-10-25 01:56:07 +0300
commit64eb62889a3c95986074b3e0d5656d7ad42ab826 (patch)
tree9dcd35da239296d27a2893b474c487f263f91262
parente18fc698ed4fba3fc0e33e8116d3739d2161e618 (diff)
downloadNim-64eb62889a3c95986074b3e0d5656d7ad42ab826.tar.gz
[minor] nimVMDebug: fix codeListing formatting for jump-to-file to work (#15711)
-rw-r--r--compiler/vmgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vmgen.nim b/compiler/vmgen.nim
index 4dcd01458..44b10ea67 100644
--- a/compiler/vmgen.nim
+++ b/compiler/vmgen.nim
@@ -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