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
|
|
@ -44,7 +44,7 @@ proc ParseFile(fileIdx: int32): PNode =
|
|||
var
|
||||
p: TParsers
|
||||
f: tfile
|
||||
let filename = fileIdx.toFilename
|
||||
let filename = fileIdx.toFullPath
|
||||
if not open(f, filename):
|
||||
rawMessage(errCannotOpenFile, filename)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue