aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-02-08 09:16:32 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-02-08 20:50:32 +0300
commitefc8c2124291c7361fad8c3b800bde89a2d8eef6 (patch)
treed67621af2c2d382dfa2b25c3d5cdabe7777705d9
parent689b466a94996c70f7b689184816d56cc5b23af4 (diff)
Fix broken id assigning for testscript if-else scopes
-rw-r--r--build2/test/script/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx
index d1e2816..69fe979 100644
--- a/build2/test/script/parser.cxx
+++ b/build2/test/script/parser.cxx
@@ -783,7 +783,7 @@ namespace build2
// Description. For now we just duplicate it through the entire
// chain.
//
- g->desc = (ps == &root ? move (d) : root->desc);
+ g->desc = (ps == &root ? d : root->desc);
*ps = move (g);
}