got rid of tyPureObject; broke bootstrapping; use generated C code

This commit is contained in:
Araq 2011-09-24 09:46:58 +02:00
commit ae0ab9a101
2 changed files with 19 additions and 3 deletions

View file

@ -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