mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 23:33:28 +00:00
Fix #13633
This commit is contained in:
@@ -998,10 +998,11 @@ proc writeJsonBuildInstructions*(conf: ConfigRef) =
|
||||
f.write escapeJson(x)
|
||||
|
||||
proc cfiles(conf: ConfigRef; f: File; buf: var string; clist: CfileList, isExternal: bool) =
|
||||
var comma = false
|
||||
for i, it in clist:
|
||||
if CfileFlag.Cached in it.flags: continue
|
||||
let compileCmd = getCompileCFileCmd(conf, it)
|
||||
if i > 0: lit ",\L"
|
||||
if comma: lit ",\L"; comma = false
|
||||
lit "["
|
||||
str it.cname.string
|
||||
lit ", "
|
||||
|
||||
Reference in New Issue
Block a user