diff options
Diffstat (limited to 'compiler/rodwrite.nim')
-rwxr-xr-x | compiler/rodwrite.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rodwrite.nim b/compiler/rodwrite.nim index 327083ff1..0bc73d6f1 100755 --- a/compiler/rodwrite.nim +++ b/compiler/rodwrite.nim @@ -265,7 +265,7 @@ proc symStack(w: PRodWriter) = addToIndex(w.index, s.id, L) #intSetIncl(debugWritten, s.id); app(w.data, encodeSym(w, s)) app(w.data, rodNL) - if sfInInterface in s.flags: + if sfExported in s.flags: appf(w.interf, "$1 $2" & rodNL, [encode(s.name.s), encodeInt(s.id)]) if sfCompilerProc in s.flags: appf(w.compilerProcs, "$1 $2" & rodNL, @@ -305,7 +305,7 @@ proc rawAddInterfaceSym(w: PRodWriter, s: PSym) = proc addInterfaceSym(w: PRodWriter, s: PSym) = if w == nil: return - if {sfInInterface, sfCompilerProc} * s.flags != {}: + if {sfExported, sfCompilerProc} * s.flags != {}: rawAddInterfaceSym(w, s) proc addStmt(w: PRodWriter, n: PNode) = |