summary refs log tree commit diff stats
path: root/compiler/nimrod.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-09-24 09:46:58 +0200
committerAraq <rumpf_a@web.de>2011-09-24 09:46:58 +0200
commitae0ab9a101fccfe8cdd8f2efa0ae2c73e396db7c (patch)
tree0f327651c1834ebfa1ae6e82f2b71755c85db8c9 /compiler/nimrod.nim
parentbd2d146c7705a7c155d6fd70b6238623b0e88513 (diff)
downloadNim-ae0ab9a101fccfe8cdd8f2efa0ae2c73e396db7c.tar.gz
got rid of tyPureObject; broke bootstrapping; use generated C code
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-xcompiler/nimrod.nim6
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