diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-23 16:53:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-23 16:53:31 +0200 |
commit | e19095ef128f53644bc7650094d8924633c79efa (patch) | |
tree | d039eb841341af2d7b3f544b95644ad1afcb846c /build2/test | |
parent | 793f078ec31dc61921b382f14412ed3e25cc51d8 (diff) |
Implement value type propagation on expansion
Currently, we only propagate types of sole, unquoted expansions (variable,
function call, or eval context), similar to NULL. To untypify the value,
simply quote it.
Diffstat (limited to 'build2/test')
-rw-r--r-- | build2/test/script/parser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx index 5730647..9afef75 100644 --- a/build2/test/script/parser.cxx +++ b/build2/test/script/parser.cxx @@ -1190,7 +1190,7 @@ namespace build2 attributes_push (t, tt, true); return tt != type::newline && tt != type::semi - ? parse_names_value (t, tt, "variable value", nullptr) + ? parse_value (t, tt, "variable value", nullptr) : value (names ()); } |