aboutsummaryrefslogtreecommitdiff
path: root/build2/test/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/rule.cxx')
-rw-r--r--build2/test/rule.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index 487856b..089f560 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -424,7 +424,8 @@ namespace build2
text << "test " << t << " with " << ts;
script::parser p;
- script::script s (p.pre_parse (ts, t, wd));
+ script::script s (t, ts, wd);
+ p.pre_parse (s);
script::concurrent_runner r;
p.parse (s, r);