This commit is contained in:
Araq 2012-07-28 14:16:08 +02:00
commit 538b06a123
11 changed files with 114 additions and 39 deletions

View file

@ -54,7 +54,8 @@ type # please make sure we have under 32 options
optThreadAnalysis, # thread analysis pass
optTaintMode, # taint mode turned on
optTlsEmulation, # thread var emulation turned on
optGenIndex # generate index file for documentation
optGenIndex # generate index file for documentation;
# also: generate header file
TGlobalOptions* = set[TGlobalOption]
TCommands* = enum # Nimrod's commands
@ -85,6 +86,7 @@ var
gExitcode*: int8
searchPaths*: TLinkedList
outFile*: string = ""
headerFile*: string = ""
gCmd*: TCommands = cmdNone # the command
gVerbosity*: int # how verbose the compiler is
gNumberOfProcessors*: int # number of processors