diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-12-14 17:13:41 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-12-14 17:15:03 +0100 |
commit | 675b6f07737a0f23b3b052552eeec525136c6960 (patch) | |
tree | 7a718ffa3d3c1fe9a7408afe426e422bc55a498a /compiler | |
parent | 32c6b35d97332e884648929672b0f163ee6febff (diff) | |
download | Nim-675b6f07737a0f23b3b052552eeec525136c6960.tar.gz |
fixes #9978
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/passes.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/passes.nim b/compiler/passes.nim index 9ccd2240a..6863576cd 100644 --- a/compiler/passes.nim +++ b/compiler/passes.nim @@ -155,7 +155,7 @@ proc processModule*(graph: ModuleGraph; module: PSym, stream: PLLStream): bool { while true: openParsers(p, fileIdx, s, graph.cache, graph.config) - if sfSystemModule notin module.flags: + if graph.config.mainPackageId == module.owner.id: # XXX what about caching? no processing then? what if I change the # modules to include between compilation runs? we'd need to track that # in ROD files. I think we should enable this feature only |