changed the compiler's path handling; fixes #546

This commit is contained in:
Andreas Rumpf 2016-05-31 03:04:36 +02:00
commit 893be3a5a4
11 changed files with 32 additions and 17 deletions

View file

@ -242,7 +242,7 @@ proc mainCommand* =
clearPasses()
gLastCmdTime = epochTime()
appendStr(searchPaths, options.libpath)
if gProjectFull.len != 0:
when false: # gProjectFull.len != 0:
# current path is always looked first for modules
prependStr(searchPaths, gProjectPath)
setId(100)