aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2018-06-11 09:50:30 -0500
committerGanesh Viswanathan <dev@genotrance.com>2018-06-11 09:50:30 -0500
commite3a3fe12e66252d94f62ec8338072f60e2d4acd4 (patch)
tree7dbd6e932f2fa4ec0ba066401ab6efdacf0f94a6
parent4b91f1bbbe186e8e87b701c1542441f348dbc230 (diff)
downloadnimgen-e3a3fe12e66252d94f62ec8338072f60e2d4acd4.tar.gz
nimgen-e3a3fe12e66252d94f62ec8338072f60e2d4acd4.zip
Bugfix for compile
-rw-r--r--nimgen.nim3
1 files changed, 0 insertions, 3 deletions
diff --git a/nimgen.nim b/nimgen.nim
index fc3e8ce..ffe2cbe 100644
--- a/nimgen.nim
+++ b/nimgen.nim
@@ -468,7 +468,6 @@ proc c2nim(fl, outfile, flags, ppflags: string, recurse, inline, preprocess, cta
passC = ""
outlib = ""
outpragma = ""
- outcompile = ""
passC = "import strutils\n"
for inc in gIncludes:
@@ -531,8 +530,6 @@ proc c2nim(fl, outfile, flags, ppflags: string, recurse, inline, preprocess, cta
freplace(outfile, " {.cdecl.})", ")")
# Include {.compile.} directives
- outcompile = compile(compile)
-
for cpl in compile:
let fcpl = search(cpl)
if getFileInfo(fcpl).kind == pcFile: