From 8e91d7935932066d17cf6dfb24705c5a62aa42f6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 19 Oct 2016 08:15:51 +0200 Subject: Minor testscript fixes/changes --- build2/test/rule.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'build2/test/rule.cxx') diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx index 29d5925..7e4101c 100644 --- a/build2/test/rule.cxx +++ b/build2/test/rule.cxx @@ -354,9 +354,6 @@ namespace build2 target_state rule:: perform_script (action, target& t) { - using namespace script; - using script::script; - for (target* pt: t.prerequisite_targets) { // In case we are using the alias rule's list (see above). @@ -371,11 +368,11 @@ namespace build2 try { - script s (t, *st); - concurrent_runner r; + script::script s (t, *st); + script::concurrent_runner r; ifdstream ifs (sp); - parser p; + script::parser p; p.parse (ifs, sp, s, r); } catch (const io_error& e) -- cgit v1.1