summary refs log tree commit diff stats
path: root/compiler/nimrod.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-09-20 11:59:06 -0700
committerAraq <rumpf_a@web.de>2011-09-20 11:59:06 -0700
commitbf386374020663452bfdbe3169845970d948cba6 (patch)
treee233a5111982b90c07e9fdfb0f75376c36646137 /compiler/nimrod.nim
parentdaa2c8732d0f4feef20f68e75e9c491e95b95a0d (diff)
parent0b197ade6cd842f5029ba60078a11d043bbd583b (diff)
downloadNim-bf386374020663452bfdbe3169845970d948cba6.tar.gz
Merge pull request #57 from zah/codegen-fixes
Codegen fixes
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-xcompiler/nimrod.nim3
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