diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-13 17:52:21 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-13 17:52:21 +0200 |
commit | 328e7a100560e5bd179512ba142ef944bf0a0698 (patch) | |
tree | 2403385aa6fc3461a810ca34222af8e3794b79cf /compiler/passaux.nim | |
parent | 297038f70424e2d777cf7c308a9ab48cb6f66d01 (diff) | |
download | Nim-328e7a100560e5bd179512ba142ef944bf0a0698.tar.gz |
options.nim: no global variables anymore
Diffstat (limited to 'compiler/passaux.nim')
-rw-r--r-- | compiler/passaux.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/passaux.nim b/compiler/passaux.nim index f0d6bd44a..568fb4c23 100644 --- a/compiler/passaux.nim +++ b/compiler/passaux.nim @@ -26,7 +26,7 @@ proc verboseOpen(graph: ModuleGraph; s: PSym; cache: IdentCache): PPassContext = proc verboseProcess(context: PPassContext, n: PNode): PNode = result = n let v = VerboseRef(context) - if gVerbosity == 3: + if v.config.verbosity == 3: # system.nim deactivates all hints, for verbosity:3 we want the processing # messages nonetheless, so we activate them again unconditionally: incl(v.config.notes, hintProcessing) |