diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-12-01 07:28:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-12-01 07:28:20 +0200 |
commit | e188fbebff1d4ba01ec906867e2d7ef0824b01f8 (patch) | |
tree | 09a8659d1710d11170128606e7c081e492a3dddb /libbuild2/cc/parser.hxx | |
parent | 11f2e201272239b22a5696eb0537d4357a882398 (diff) |
Modules-related refactoring
Diffstat (limited to 'libbuild2/cc/parser.hxx')
-rw-r--r-- | libbuild2/cc/parser.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libbuild2/cc/parser.hxx b/libbuild2/cc/parser.hxx index 9abfc81..a1f1e57 100644 --- a/libbuild2/cc/parser.hxx +++ b/libbuild2/cc/parser.hxx @@ -24,7 +24,15 @@ namespace build2 { public: unit - parse (ifdstream&, const path_name&); + parse (ifdstream& is, const path_name& n) + { + unit r; + parse (is, n, r); + return r; + } + + void + parse (ifdstream&, const path_name&, unit&); private: void |