diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-31 12:52:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-31 12:52:20 +0200 |
commit | bbd0f3bb21442a2833916110cbe8e9a07e9f4c1f (patch) | |
tree | d25de6f2bcfa4b6cabe1fd55a1b8f508005de4c1 /build/parser.cxx | |
parent | 729b56300c441a0d63c7d2013eb5a881211d352b (diff) |
Essential install module functionality
Diffstat (limited to 'build/parser.cxx')
-rw-r--r-- | build/parser.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/parser.cxx b/build/parser.cxx index 29ee02b..682a720 100644 --- a/build/parser.cxx +++ b/build/parser.cxx @@ -701,9 +701,9 @@ namespace build // The rest is a value. Parse it as names to get variable expansion. // build::import() will check the names, if required. // - export_value_ = (tt != type::newline && tt != type::eos - ? names (t, tt) - : names_type ()); + export_value_ = list_value (tt != type::newline && tt != type::eos + ? names (t, tt) + : names_type ()); if (tt == type::newline) next (t, tt); @@ -788,7 +788,7 @@ namespace build auto v (target_ != nullptr ? target_->assign (var) : scope_->assign (var)); - v = move (vns); + v = list_value (move (vns)); } else { @@ -806,7 +806,7 @@ namespace build make_move_iterator (vns.end ())); } else - v = move (vns); // Same as assignment. + v = list_value (move (vns)); // Same as assignment. } } |