Make reading from stdin work again.

Bootstrapping tested on Linux from csources.
This commit is contained in:
def 2015-03-01 00:16:36 +01:00
commit cfab1394d2
2 changed files with 2 additions and 2 deletions

View file

@ -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 = llStreamOpenStdIn()
s = llStreamOpen(stdin)
else:
s = llStreamOpen(filename, fmRead)
if s == nil: