remove isCmdLine; use passCmd1
This commit is contained in:
parent
ce36fdc897
commit
c1cbf94e2d
4 changed files with 3 additions and 7 deletions
|
|
@ -288,7 +288,6 @@ type
|
|||
structuredErrorHook*: proc (config: ConfigRef; info: TLineInfo; msg: string;
|
||||
severity: Severity) {.closure, gcsafe.}
|
||||
cppCustomNamespace*: string
|
||||
isCmdLine*: bool # whether we are currently processing cmdline args, not cfg files
|
||||
|
||||
proc hasHint*(conf: ConfigRef, note: TNoteKind): bool =
|
||||
optHints in conf.options and note in conf.notes
|
||||
|
|
@ -394,7 +393,6 @@ proc newConfigRef*(): ConfigRef =
|
|||
arguments: "",
|
||||
suggestMaxResults: 10_000,
|
||||
maxLoopIterationsVM: 10_000_000,
|
||||
isCmdLine: false,
|
||||
)
|
||||
setTargetFromSystem(result.target)
|
||||
# enable colors by default on terminals
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue