aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/make-parser.test.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-12-06 08:33:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-12-06 08:33:15 +0200
commit2006284bfbda3416eb8348078fd98fa518d25c47 (patch)
tree960d8495e1d4a011348ab719fa486af49a50f912 /libbuild2/make-parser.test.cxx
parentdcd8ccd86ca97de5293efc50f98d7072ee359e4c (diff)
Redo make_parser interface to return path, handle invalid_path exception
Diffstat (limited to 'libbuild2/make-parser.test.cxx')
-rw-r--r--libbuild2/make-parser.test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/make-parser.test.cxx b/libbuild2/make-parser.test.cxx
index 189407a..9f60bad 100644
--- a/libbuild2/make-parser.test.cxx
+++ b/libbuild2/make-parser.test.cxx
@@ -54,7 +54,7 @@ namespace build2
size_t pos (0);
do
{
- pair<make_type, string> r (make.next (l, pos, ll, strict));
+ pair<make_type, path> r (make.next (l, pos, ll, strict));
cout << (r.first == make_type::target ? 'T' : 'P');