diff options
Diffstat (limited to 'compiler/options.nim')
-rw-r--r-- | compiler/options.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index 899332b6e..9d75ba7a6 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -113,6 +113,12 @@ proc usesNativeGC*(): bool {.inline.} = gSelectedGC >= gcRefc template compilationCachePresent*: expr = {optCaasEnabled, optSymbolFiles} * gGlobalOptions != {} +template optPreserveOrigSource*: expr = + optEmbedOrigSrc in gGlobalOptions + +template optPrintSurroundingSrc*: expr = + gVerbosity >= 2 + const genSubDir* = "nimcache" NimExt* = "nim" |