From 6c4ecdb57f9140dc8474da2f83660fc5f977cc6d Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 10 Jan 2025 12:43:48 +0100 Subject: Computed roots: extend data structure to support the absent pragma --- src/other_tools/utils/parse_precomputed_root.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/other_tools/utils/parse_precomputed_root.cpp') diff --git a/src/other_tools/utils/parse_precomputed_root.cpp b/src/other_tools/utils/parse_precomputed_root.cpp index f30316e6..c5eebf90 100644 --- a/src/other_tools/utils/parse_precomputed_root.cpp +++ b/src/other_tools/utils/parse_precomputed_root.cpp @@ -84,9 +84,9 @@ namespace { return ComputedRoot{.repository = repo->String(), .target_module = target_module->String(), .target_name = target_module->String(), - .config = config.IsNotNull() - ? config->ToJson() - : nlohmann::json::object()}; + .config = config.IsNotNull() ? config->ToJson() + : nlohmann::json::object(), + .absent = false}; } [[nodiscard]] auto ParseTreeStructureRoot(ExpressionPtr const& repository) -- cgit v1.2.3