summary refs log tree commit diff stats
path: root/compiler/cgen.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-12-17 19:30:43 +0100
committerAraq <rumpf_a@web.de>2012-12-17 19:30:43 +0100
commit3be576222a2e2a774570eb408d43c35ab94c5f15 (patch)
tree5b5430b217a449e50eba2a93f2e7ed5d4e23c720 /compiler/cgen.nim
parente516571b47a8dd4c72333adcd04228f81ec02a8d (diff)
downloadNim-3be576222a2e2a774570eb408d43c35ab94c5f15.tar.gz
fixes #277; documentation improvements
Diffstat (limited to 'compiler/cgen.nim')
-rwxr-xr-xcompiler/cgen.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index 5bdbefde1..d024f3479 100755
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -799,8 +799,6 @@ proc genVarPrototypeAux(m: BModule, sym: PSym) =
 
 proc genVarPrototype(m: BModule, sym: PSym) =
   genVarPrototypeAux(m, sym)
-  if sfExportc in sym.flags and generatedHeader != nil:
-    genVarPrototypeAux(generatedHeader, sym)
 
 proc addIntTypes(result: var PRope) {.inline.} =
   appf(result, "#define NIM_INTBITS $1", [