introduce --symbolFiles:v2 as the next attempt to bring symbol files to Nim

This commit is contained in:
Araq
2018-01-11 17:58:26 +01:00
parent 50fb98d260
commit df73d412ba
2 changed files with 2 additions and 1 deletions

View File

@@ -603,6 +603,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
of "off": gSymbolFiles = disabledSf
of "writeonly": gSymbolFiles = writeOnlySf
of "readonly": gSymbolFiles = readOnlySf
of "v2": gSymbolFiles = v2Sf
else: localError(info, errOnOrOffExpectedButXFound, arg)
of "skipcfg":
expectNoArg(switch, arg, pass, info)

View File

@@ -148,7 +148,7 @@ var
type
SymbolFilesOption* = enum
disabledSf, enabledSf, writeOnlySf, readOnlySf
disabledSf, enabledSf, writeOnlySf, readOnlySf, v2Sf
var gSymbolFiles*: SymbolFilesOption