From 25c068c070a023c2b8272ea446480444cd4169d9 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sat, 12 Oct 2024 21:46:56 +0200 Subject: [PATCH] modulegraphs: added a flag useful for gear2 (#24293) --- compiler/modulegraphs.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/modulegraphs.nim b/compiler/modulegraphs.nim index 77762d23aa..dd6a590e4f 100644 --- a/compiler/modulegraphs.nim +++ b/compiler/modulegraphs.nim @@ -88,6 +88,7 @@ type suggestMode*: bool # whether we are in nimsuggest mode or not. invalidTransitiveClosure: bool interactive*: bool + withinSystem*: bool # in system.nim or a module imported by system.nim inclToMod*: Table[FileIndex, FileIndex] # mapping of include file to the # first module that included it importStack*: seq[FileIndex] # The current import stack. Used for detecting recursive