path canonicalization and proper project relative paths

This commit is contained in:
Zahary Karadjov 2011-12-09 04:40:59 +02:00
commit e4e74034c2
9 changed files with 61 additions and 47 deletions

View file

@ -176,7 +176,7 @@ proc CommandSuggest =
proc wantMainModule =
if gProjectFull.len == 0:
Fatal(newLineInfo("command line", 1, 1), errCommandExpectsFilename)
Fatal(gCmdLineInfo, errCommandExpectsFilename)
proc MainCommand =
appendStr(searchPaths, options.libpath)