summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-03-01 00:02:10 +0100
committerAraq <rumpf_a@web.de>2015-03-01 00:02:10 +0100
commit2df10fc4a60e6c8f7e0b42205dba29988e0a5c06 (patch)
treea6b5f4b2d94f18abeba819b50b768cde81dc2fdb /compiler
parent2808b7f9a5724c59cea012b7de3215a7dd60177a (diff)
downloadNim-2df10fc4a60e6c8f7e0b42205dba29988e0a5c06.tar.gz
bootstrapping works again on Windows
Diffstat (limited to 'compiler')
-rw-r--r--compiler/passes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/passes.nim b/compiler/passes.nim
index 96088bd88..df4816653 100644
--- a/compiler/passes.nim
+++ b/compiler/passes.nim
@@ -172,7 +172,7 @@ proc processModule(module: PSym, stream: PLLStream, rd: PRodReader) =
       let filename = fileIdx.toFullPathConsiderDirty
       if module.name.s == "-":
         module.name.s = "stdinfile"
-        s = llStreamOpen(stdin)
+        s = llStreamOpenStdIn()
       else:
         s = llStreamOpen(filename, fmRead)
       if s == nil: