Make reading from stdin work again.
Bootstrapping tested on Linux from csources.
This commit is contained in:
parent
2df10fc4a6
commit
cfab1394d2
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue