aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-10-14 16:06:35 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-10-14 17:30:12 +0300
commit63b5b6416c6bde16560eb9b83a9e3122599369d5 (patch)
tree82c0f624aedebf6917aeb4c9b6648f8cdb9d3fc1 /libbuild2/parser.cxx
parentfbe94f38ee51e705202a2d5cf1f45b5e8a08d8c7 (diff)
Fix 'for [<attrs>] x: ...' to treat <attrs> as value attributes
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index 184fa01..a13dc41 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -5067,18 +5067,6 @@ namespace build2
fail (l) << "unexpected value in attribute " << a;
}
- apply_value (var, v, move (rhs), kind, l, type, null);
- }
-
- void parser::
- apply_value (const variable* var,
- value& v,
- value&& rhs,
- type kind,
- const location& l,
- const value_type* type,
- bool null)
- {
// When do we set the type and when do we keep the original? This gets
// tricky for append/prepend where both values contribute. The guiding
// rule here is that if the user specified the type, then they reasonable