diff options
author | rumpf_a@web.de <> | 2009-12-20 12:43:28 +0100 |
---|---|---|
committer | rumpf_a@web.de <> | 2009-12-20 12:43:28 +0100 |
commit | f56816def07cf88f7ed3905eeba02f19fc0a4b9c (patch) | |
tree | b057be62c7a4abbff0d0ff6a19251b87ce383001 /rod/expandimportc.nim | |
parent | 8ce705f6860169b6b0c6db94db38ba25f4f1965f (diff) | |
download | Nim-f56816def07cf88f7ed3905eeba02f19fc0a4b9c.tar.gz |
got rid of platdef.c; compiler now always does linking step
Diffstat (limited to 'rod/expandimportc.nim')
-rwxr-xr-x | rod/expandimportc.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rod/expandimportc.nim b/rod/expandimportc.nim index 82a0578ac..9613626f1 100755 --- a/rod/expandimportc.nim +++ b/rod/expandimportc.nim @@ -14,6 +14,7 @@ import os, ropes, idents, ast, pnimsyn, rnimsyn, msgs, wordrecg, syntaxes proc modifyPragmas(n: PNode, name: string) = + if n == nil: return for i in countup(0, sonsLen(n) - 1): var it = n.sons[i] if it.kind == nkIdent and whichKeyword(it.ident) == wImportc: |