diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2018-06-11 09:50:30 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-06-11 09:50:30 -0500 |
| commit | e3a3fe12e66252d94f62ec8338072f60e2d4acd4 (patch) | |
| tree | 7dbd6e932f2fa4ec0ba066401ab6efdacf0f94a6 | |
| parent | 4b91f1bbbe186e8e87b701c1542441f348dbc230 (diff) | |
| download | nimgen-e3a3fe12e66252d94f62ec8338072f60e2d4acd4.tar.gz nimgen-e3a3fe12e66252d94f62ec8338072f60e2d4acd4.zip | |
Bugfix for compile
| -rw-r--r-- | nimgen.nim | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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: |
