diff options
author | Araq <rumpf_a@web.de> | 2013-01-22 00:37:33 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-01-22 00:37:33 +0100 |
commit | 09e4b194f5cde00c8c23cf02292463b7c20939c7 (patch) | |
tree | 76e491c5b24659c86fea3c2b15dc84390ffad75b /compiler/main.nim | |
parent | 0d8f45697cfb8e6f8feb287aebfaa095ae7dcac9 (diff) | |
download | Nim-09e4b194f5cde00c8c23cf02292463b7c20939c7.tar.gz |
bootstrapping works again
Diffstat (limited to 'compiler/main.nim')
-rwxr-xr-x | compiler/main.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index fd934e195..0a76b967a 100755 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -312,9 +312,7 @@ proc MainCommand = # no need to write rod files and would slow down things: #registerPass(rodwrite.rodwritePass()) discard CompileModule(options.libpath / "system", {sfSystemModule}) - # I'm lazy and misused this piece of code as a testcase so don't remove - # the invocation with a named parameter: - service.serve(action = proc () = + service.serve(proc () = let projectFile = mainCommandArg() discard CompileModule(projectFile, {sfMainModule}) ) |