diff options
author | Araq <rumpf_a@web.de> | 2011-09-24 09:46:58 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-09-24 09:46:58 +0200 |
commit | ae0ab9a101fccfe8cdd8f2efa0ae2c73e396db7c (patch) | |
tree | 0f327651c1834ebfa1ae6e82f2b71755c85db8c9 /compiler/nimrod.nim | |
parent | bd2d146c7705a7c155d6fd70b6238623b0e88513 (diff) | |
download | Nim-ae0ab9a101fccfe8cdd8f2efa0ae2c73e396db7c.tar.gz |
got rid of tyPureObject; broke bootstrapping; use generated C code
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-x | compiler/nimrod.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim index a28f8a965..a8a273cc4 100755 --- a/compiler/nimrod.nim +++ b/compiler/nimrod.nim @@ -66,7 +66,11 @@ proc HandleCmdLine() = var filename = "" ProcessCmdLine(passCmd1, command, filename) if filename != "": - var fullPath = expandFilename(filename) + var fullpath: string + try: + fullPath = expandFilename(filename) + except EOS: + fullpath = filename var p = splitFile(fullPath) options.projectPath = p.dir options.projectName = p.name |