Use gProjectIsStdin instead
This commit is contained in:
parent
def61c9fcd
commit
2613110015
3 changed files with 3 additions and 1 deletions
|
|
@ -149,6 +149,7 @@ var
|
|||
gProjectName* = "" # holds a name like 'nimrod'
|
||||
gProjectPath* = "" # holds a path like /home/alice/projects/nimrod/compiler/
|
||||
gProjectFull* = "" # projectPath/projectName
|
||||
gProjectIsStdin* = false # whether we're compiling from stdin
|
||||
gProjectMainIdx*: int32 # the canonical path id of the main module
|
||||
nimcacheDir* = ""
|
||||
command* = "" # the main command (e.g. cc, check, scan, etc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue