summary refs log tree commit diff stats
path: root/compiler/semstmts.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-05-27 19:35:48 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-05-27 19:35:48 +0200
commit8f43e9d18c56ea77ab21a12e9f9ce9b7355a33ac (patch)
tree29699a8ad9aa0caa88c9595d40c23e047e54f21b /compiler/semstmts.nim
parent6d76df84546dd90d33a413c0bbd8df75f797767a (diff)
downloadNim-8f43e9d18c56ea77ab21a12e9f9ce9b7355a33ac.tar.gz
fixes #4225
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r--compiler/semstmts.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim
index f20a0c36a..20de8e928 100644
--- a/compiler/semstmts.nim
+++ b/compiler/semstmts.nim
@@ -1250,7 +1250,7 @@ proc semProcAux(c: PContext, n: PNode, kind: TSymKind,
 
       c.p.wasForwarded = proto != nil
       maybeAddResult(c, s, n)
-      if sfImportc notin s.flags:
+      if lfDynamicLib notin s.loc.flags:
         # no semantic checking for importc:
         let semBody = hloBody(c, semProcBody(c, n.sons[bodyPos]))
         # unfortunately we cannot skip this step when in 'system.compiles'
umpf_a@web.de> 2011-01-31 08:50:30 +0100 committer Araq <rumpf_a@web.de> 2011-01-31 08:50:30 +0100 documentation improvements' href='/ahoang/Nim/commit/install.txt?h=devel&id=9387913b734e1a8f4c90acdfcbdc7f92a9892244'>9387913b7 ^
db4f617af ^




053309e60 ^

a58a2f382 ^

db4f617af ^








ff4a69b62 ^

db4f617af ^


300430fbb ^
e27e873b7 ^





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70