summary refs log tree commit diff stats
path: root/compiler/nim.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r--compiler/nim.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim
index f04c616fc..89db22e8f 100644
--- a/compiler/nim.nim
+++ b/compiler/nim.nim
@@ -42,6 +42,7 @@ proc handleCmdLine() =
       gProjectName = "stdinfile"
       gProjectFull = "stdinfile"
       gProjectPath = getCurrentDir()
+      gProjectIsStdin = true
     elif gProjectName != "":
       try:
         gProjectFull = canonicalizePath(gProjectName)