diff options
author | Araq <rumpf_a@web.de> | 2011-09-20 11:59:06 -0700 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-09-20 11:59:06 -0700 |
commit | bf386374020663452bfdbe3169845970d948cba6 (patch) | |
tree | e233a5111982b90c07e9fdfb0f75376c36646137 /compiler/nimrod.nim | |
parent | daa2c8732d0f4feef20f68e75e9c491e95b95a0d (diff) | |
parent | 0b197ade6cd842f5029ba60078a11d043bbd583b (diff) | |
download | Nim-bf386374020663452bfdbe3169845970d948cba6.tar.gz |
Merge pull request #57 from zah/codegen-fixes
Codegen fixes
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-x | compiler/nimrod.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim index 3a910cfad..a28f8a965 100755 --- a/compiler/nimrod.nim +++ b/compiler/nimrod.nim @@ -66,7 +66,8 @@ proc HandleCmdLine() = var filename = "" ProcessCmdLine(passCmd1, command, filename) if filename != "": - var p = splitFile(filename) + var fullPath = expandFilename(filename) + var p = splitFile(fullPath) options.projectPath = p.dir options.projectName = p.name nimconf.LoadConfig(filename) # load the right config file |