the mainmodule option has effect only when no explicit module is given
This commit is contained in:
parent
81a3585872
commit
19e795e017
5 changed files with 11 additions and 12 deletions
|
|
@ -231,8 +231,7 @@ proc processSwitch(switch, arg: string, pass: TCmdlinePass, info: TLineInfo) =
|
|||
options.outFile = arg
|
||||
of "mainmodule", "m":
|
||||
expectArg(switch, arg, pass, info)
|
||||
gProjectName = arg
|
||||
gProjectFull = gProjectPath / gProjectName
|
||||
optMainModule = arg
|
||||
of "define", "d":
|
||||
expectArg(switch, arg, pass, info)
|
||||
DefineSymbol(arg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue