aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-16 13:01:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-16 13:01:56 +0200
commit49031af6be4bfb55a8ef64cea08a7161c3a763a4 (patch)
treed88340989291d681b02e04314be84204f3e58f95 /libbuild2/parser.cxx
parentde8a68265cd467b7ca225e06501b23a8f38a694e (diff)
Minor cleanups
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index 4df2ce3..4c48440 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -1812,9 +1812,9 @@ namespace build2
if (n.pair)
fail (l) << "unexpected pair in import";
- // build2::import() will check the name, if required.
+ // import() will check the name, if required.
//
- names r (build2::import (*scope_, move (n), l));
+ names r (import (*scope_, move (n), l));
if (val != nullptr)
{
@@ -1850,7 +1850,7 @@ namespace build2
fail (t) << "export outside export stub";
// The rest is a value. Parse it as a variable value to get expansion,
- // attributes, etc. build2::import() will check the names, if required.
+ // attributes, etc. Note that import() will check the names, if required.
//
location l (get_location (t));
value rhs (parse_variable_value (t, tt));