summaryrefslogtreecommitdiff
path: root/CC
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-06-19 12:58:06 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-06-19 12:58:06 +0200
commitb4d1cbc8d77bdffaeab6b01edf5f54eeeb1b81d3 (patch)
tree57f67d71cee101d378e39659cf36fab146da6598 /CC
parent08d76f32e960577e0e382c5c17fa368ddc8b210d (diff)
parent85f97ddf0e18548d95d50aa1f7599a1aad833d97 (diff)
downloadrules-cc-b4d1cbc8d77bdffaeab6b01edf5f54eeeb1b81d3.tar.gz
Merge commit '85f97ddf0e18548d95d50aa1f7599a1aad833d97' into HEAD
Diffstat (limited to 'CC')
-rw-r--r--CC/EXPRESSIONS11
1 files changed, 8 insertions, 3 deletions
diff --git a/CC/EXPRESSIONS b/CC/EXPRESSIONS
index 0e1e4b9..938c342 100644
--- a/CC/EXPRESSIONS
+++ b/CC/EXPRESSIONS
@@ -2279,9 +2279,14 @@
, { "type": "if"
, "cond": {"type": "var", "name": "DEBUG"}
, "then":
- { "type": "let*"
- , "bindings": [["deps-provider", "debug-hdrs"]]
- , "body": {"type": "CALL_EXPRESSION", "name": "debug-deps"}
+ { "type": "map_union"
+ , "$1":
+ [ { "type": "let*"
+ , "bindings": [["deps-provider", "debug-hdrs"]]
+ , "body": {"type": "CALL_EXPRESSION", "name": "debug-deps"}
+ }
+ , {"type": "var", "name": "compile-deps"}
+ ]
}
, "else": {"type": "empty_map"}
}