fixed a regression: compiling projects not residing in the current directory
This commit is contained in:
parent
86bf97a730
commit
8be307713e
4 changed files with 18 additions and 19 deletions
|
|
@ -168,7 +168,7 @@ proc processModule(module: PSym, stream: PLLStream, rd: PRodReader) =
|
|||
if rd == nil:
|
||||
openPasses(a, module)
|
||||
if stream == nil:
|
||||
let filename = fileIdx.toFilename
|
||||
let filename = fileIdx.toFullPath
|
||||
s = LLStreamOpen(filename, fmRead)
|
||||
if s == nil:
|
||||
rawMessage(errCannotOpenFile, filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue