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.hxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/libbuild2/cc/parser.hxx b/libbuild2/cc/parser.hxx
index 7c893b5..db5858e 100644
--- a/libbuild2/cc/parser.hxx
+++ b/libbuild2/cc/parser.hxx
@@ -28,13 +28,24 @@ namespace build2
private:
void
- parse_import (token&, bool);
+ parse_module (token&, bool, location_value);
void
- parse_module (token&, bool, location_value);
+ parse_import (token&, bool);
string
- parse_module_name (token&);
+ parse_module_name (token&, bool);
+
+ string
+ parse_module_part (token& t)
+ {
+ string n;
+ parse_module_part (t, n);
+ return n;
+ }
+
+ void
+ parse_module_part (token&, string&);
string
parse_header_name (token&);