From 63b5b6416c6bde16560eb9b83a9e3122599369d5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 14 Oct 2022 16:06:35 +0300 Subject: Fix 'for [] x: ...' to treat as value attributes --- libbuild2/parser.cxx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'libbuild2/parser.cxx') 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 -- cgit v1.1