summary refs log tree commit diff stats
path: root/compiler/extccomp.nim
diff options
context:
space:
mode:
authorClyybber <darkmine956@gmail.com>2020-03-12 11:20:08 +0100
committerGitHub <noreply@github.com>2020-03-12 11:20:08 +0100
commit2bb0ada79740b0961fd06ffd477c41dfef531544 (patch)
tree0a9d4e21cffa1f5c9269610df99e5eb215110ba7 /compiler/extccomp.nim
parentd84c4bba9b5b20386fbf88b1695de6071a48da7d (diff)
downloadNim-2bb0ada79740b0961fd06ffd477c41dfef531544.tar.gz
Amend fix for #13633 (#13636)
Diffstat (limited to 'compiler/extccomp.nim')
-rw-r--r--compiler/extccomp.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim
index dfc13edf5..2e1846424 100644
--- a/compiler/extccomp.nim
+++ b/compiler/extccomp.nim
@@ -1002,7 +1002,7 @@ proc writeJsonBuildInstructions*(conf: ConfigRef) =
     for i, it in clist:
       if CfileFlag.Cached in it.flags: continue
       let compileCmd = getCompileCFileCmd(conf, it)
-      if comma: lit ",\L"; comma = false
+      if comma: lit ",\L" else: comma = true
       lit "["
       str it.cname.string
       lit ", "