summaryrefslogtreecommitdiff
path: root/CC/auto
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-05-16 19:19:11 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2023-05-30 15:01:41 +0200
commit6335a12ce47c38b88f0906c37c3004a23595c84e (patch)
tree6d891669567f8508452c321860d15de377b79365 /CC/auto
parent30fdf0f3ebf0871bffd083939bcf446d7956b0ed (diff)
downloadrules-cc-6335a12ce47c38b88f0906c37c3004a23595c84e.tar.gz
rules: 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"