diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-11 14:44:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-30 16:56:08 +0200 |
commit | a14b9bc18431c6aed8441261d28b6ff20bd25935 (patch) | |
tree | ae1f07caef838b5b03fa3f82a2cfccbb62b24ed3 /build2/cc/parser.hxx | |
parent | ca0f9c71be279aee845bf5328ac0af8c02c8849e (diff) |
Initial take on header unit and include translation support
Diffstat (limited to 'build2/cc/parser.hxx')
-rw-r--r-- | build2/cc/parser.hxx | 7 |
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_; }; |