aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-08-09 18:36:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-08-09 18:36:43 +0200
commit388b94567f3136d1370b37610081c5465a74bdb7 (patch)
tree8bdec1112e74dd8fd01e5d9e55b0f5f4c958b816 /libbuild2/parser.hxx
parentc5d4b19bb5e622697931870a293de0f794416c8f (diff)
Use parse_variable_name() in parse_import(), parse_config()
Diffstat (limited to 'libbuild2/parser.hxx')
-rw-r--r--libbuild2/parser.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/parser.hxx b/libbuild2/parser.hxx
index bc5bf4b..b1ac8b2 100644
--- a/libbuild2/parser.hxx
+++ b/libbuild2/parser.hxx
@@ -234,6 +234,9 @@ namespace build2
const variable&, token_type, const location&);
const variable&
+ parse_variable_name (string&&, const location&);
+
+ const variable&
parse_variable_name (names&&, const location&);
// Note: calls attributes_push() that the caller must pop.