Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Clyybber committed Mar 12, 2020
1 parent bbc231f commit d84c4bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/extccomp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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 ", "
Expand Down

0 comments on commit d84c4bb

Please sign in to comment.