aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/parser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/parser.hxx')
-rw-r--r--libbuild2/cc/parser.hxx10
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