summaryrefslogtreecommitdiff
path: root/CC/auto
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-02-14 15:40:56 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2023-05-30 15:33:18 +0200
commit52f36d3c99c0327ccba50dede36645432af798df (patch)
tree7bfbfca02704e459ef4cf28954ec5d79fdc28d0a /CC/auto
parentb09fa46239f251d5499dea26b313e4f9ef9b1aac (diff)
downloadrules-cc-52f36d3c99c0327ccba50dede36645432af798df.tar.gz
rules-cc: Use field_map_provider for default-ENV
Diffstat (limited to 'CC/auto')
-rw-r--r--CC/auto/RULES13
1 files changed, 3 insertions, 10 deletions
diff --git a/CC/auto/RULES b/CC/auto/RULES
index e04289c..fb75a64 100644
--- a/CC/auto/RULES
+++ b/CC/auto/RULES
@@ -204,16 +204,9 @@
, [ "ENV"
, { "type": "map_union"
, "$1":
- { "type": "++"
- , "$1":
- [ {"type": "CALL_EXPRESSION", "name": "default-ENV"}
- , [ { "type": "var"
- , "name": "ENV"
- , "default": {"type": "empty_map"}
- }
- ]
- ]
- }
+ [ {"type": "CALL_EXPRESSION", "name": "default-ENV"}
+ , {"type": "var", "name": "ENV", "default": {"type": "empty_map"}}
+ ]
}
]
, [ "c.flags"