remove isCmdLine; use passCmd1
This commit is contained in:
parent
ce36fdc897
commit
c1cbf94e2d
4 changed files with 3 additions and 7 deletions
|
|
@ -27,9 +27,7 @@ proc initDefinesProg*(self: NimProg, conf: ConfigRef, name: string) =
|
|||
defineSymbol conf.symbols, name
|
||||
|
||||
proc processCmdLineAndProjectPath*(self: NimProg, conf: ConfigRef) =
|
||||
conf.isCmdLine = true
|
||||
self.processCmdLine(passCmd1, "", conf)
|
||||
conf.isCmdLine = false
|
||||
if self.supportsStdinFile and conf.projectName == "-":
|
||||
handleStdinInput(conf)
|
||||
elif conf.projectName != "":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue