diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-26 15:14:39 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-26 15:39:25 +0200 |
commit | e736991eea0b5a1080281bd00e8267d1b97ff212 (patch) | |
tree | 24f0f43062effe426b9c1ad4feb8078fe0fa3f95 /src | |
parent | 536f0f2122f0cdbde81bacfc33065d43176b30a4 (diff) | |
download | justbuild-e736991eea0b5a1080281bd00e8267d1b97ff212.tar.gz |
analyse: fix reporting of internal erros
... by taking the correct map to report which targets failed
to be analysed and also report about rules that failed to be
analysed.
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/main/analyse.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/main/analyse.cpp b/src/buildtool/main/analyse.cpp index 78aee957..678b5721 100644 --- a/src/buildtool/main/analyse.cpp +++ b/src/buildtool/main/analyse.cpp @@ -201,7 +201,8 @@ namespace Target = BuildMaps::Target; return std::nullopt; } DetectAndReportPending("expressions", expr_map, logger); - DetectAndReportPending("targets", expr_map, logger); + DetectAndReportPending("rules", rule_map, logger); + DetectAndReportPending("targets", target_map, logger); return std::nullopt; } |