diff options
author | Araq <rumpf_a@web.de> | 2014-04-01 19:41:51 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-04-01 19:41:51 +0200 |
commit | b579ca44eb90df498b251d6ee3f1b3110e13f933 (patch) | |
tree | 912e5d756e303a333cb5d186634b38aa85d23098 /compiler | |
parent | befdce51b44408e7e29e5ca78441f7b223f67bf8 (diff) | |
parent | 44ee8aecfd70d1d381b5eed5ae52b01fae04452b (diff) | |
download | Nim-b579ca44eb90df498b251d6ee3f1b3110e13f933.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/pragmas.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/pragmas.nim b/compiler/pragmas.nim index 692f4bac6..14d155539 100644 --- a/compiler/pragmas.nim +++ b/compiler/pragmas.nim @@ -111,8 +111,9 @@ proc validateExternCName(s: PSym, info: TLineInfo) = proc makeExternExport(s: PSym, extname: string, info: TLineInfo) = setExternName(s, extname) - if gCmd in {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC}: - validateExternCName(s, info) + # XXX to fix make it work with nimrtl. + #if gCmd in {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC}: + # validateExternCName(s, info) incl(s.flags, sfExportc) proc processImportCompilerProc(s: PSym, extname: string) = |