diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-05-19 14:35:18 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-05-19 14:35:18 +0200 |
commit | d7c0b269cb15c29969425d717e857f4c151fda52 (patch) | |
tree | 80aa3a395828da956056a14ec9e30bcc9c170612 /compiler/main.nim | |
parent | c34d7e6467e617cd63cbf56e4af3ed066db85527 (diff) | |
parent | 2613110015d52ffdcb6ecfd6f7dbb3369016c252 (diff) | |
download | Nim-d7c0b269cb15c29969425d717e857f4c151fda52.tar.gz |
Merge pull request #2734 from def-/stdin-fix
Clean up stdin file reading of compiler.
Diffstat (limited to 'compiler/main.nim')
-rw-r--r-- | compiler/main.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 0c80c19b7..a01b6fe4f 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -63,7 +63,7 @@ proc commandCompileToC = compileProject() cgenWriteModules() if gCmd != cmdRun: - extccomp.callCCompiler(if gProjectName == "-": "stdinfile" else: changeFileExt(gProjectFull, "")) + extccomp.callCCompiler(changeFileExt(gProjectFull, "")) if isServing: # caas will keep track only of the compilation commands |