From ae0ab9a101fccfe8cdd8f2efa0ae2c73e396db7c Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 24 Sep 2011 09:46:58 +0200 Subject: got rid of tyPureObject; broke bootstrapping; use generated C code --- compiler/nimrod.nim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'compiler') 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 -- cgit 1.4.1-2-gfad0