aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/parser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/parser.hxx')
-rw-r--r--build2/cc/parser.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/cc/parser.hxx b/build2/cc/parser.hxx
index b8a4940..2050dd1 100644
--- a/build2/cc/parser.hxx
+++ b/build2/cc/parser.hxx
@@ -24,7 +24,7 @@ namespace build2
class parser
{
public:
- translation_unit
+ unit
parse (ifdstream&, const path& name);
private:
@@ -37,12 +37,15 @@ namespace build2
string
parse_module_name (token&);
+ string
+ parse_header_name (token&);
+
public:
string checksum; // Translation unit checksum.
private:
lexer* l_;
- translation_unit* u_;
+ unit* u_;
optional<location> module_marker_;
};