From 14dafdb39f1ce9eb205ecc978b7255c4cfc72446 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 Nov 2016 14:57:53 +0200 Subject: Use include-aware location in testscript --- build2/test/script/parser.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'build2/test') diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx index 4d7abf9..df1cd9f 100644 --- a/build2/test/script/parser.cxx +++ b/build2/test/script/parser.cxx @@ -834,11 +834,8 @@ namespace build2 // if (!group_->tdown_.empty ()) { - // @@ Can the teardown line be from a different file? - // location tl ( - get_location ( - group_->tdown_.back ().tokens.front ().token)); + group_->tdown_.back ().tokens.front ().location ()); fail (ll) << "test after teardown" << info (tl) << "last teardown line appears here"; -- cgit v1.1