diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-12-06 08:33:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-12-06 08:33:15 +0200 |
commit | 2006284bfbda3416eb8348078fd98fa518d25c47 (patch) | |
tree | 960d8495e1d4a011348ab719fa486af49a50f912 /libbuild2/make-parser.test.cxx | |
parent | dcd8ccd86ca97de5293efc50f98d7072ee359e4c (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.cxx | 2 |
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'); |