aboutsummaryrefslogtreecommitdiff
path: root/build2/parser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/parser.hxx')
-rw-r--r--build2/parser.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/parser.hxx b/build2/parser.hxx
index 1b39491..acf507e 100644
--- a/build2/parser.hxx
+++ b/build2/parser.hxx
@@ -117,7 +117,7 @@ namespace build2
void
parse_variable (token&, token_type&, const variable&, token_type);
- string
+ const variable&
parse_variable_name (names&&, const location&);
// Note: calls attributes_push() that the caller must pop.
@@ -368,6 +368,9 @@ namespace build2
// Customization hooks.
//
protected:
+ // If qual is not empty, then its pair member should indicate the kind
+ // of qualification: ':' -- target, '/' -- scope.
+ //
virtual lookup
lookup_variable (name&& qual, string&& name, const location&);