aboutsummaryrefslogtreecommitdiff
path: root/unit-tests
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests')
-rw-r--r--unit-tests/test/script/parser/driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit-tests/test/script/parser/driver.cxx b/unit-tests/test/script/parser/driver.cxx
index deb9994..badb658 100644
--- a/unit-tests/test/script/parser/driver.cxx
+++ b/unit-tests/test/script/parser/driver.cxx
@@ -165,8 +165,8 @@ namespace build2
// Parse and run.
//
parser p;
- script s (
- p.pre_parse (cin, st, tt, dir_path (work) /= "test-driver"));
+ script s (tt, st, dir_path (work) /= "test-driver");
+ p.pre_parse (cin, s);
print_runner r (scope, id);
p.parse (s, r);