aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-17 14:43:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-17 14:43:11 +0200
commit1eff78da255a1cbebade185a0d0e2bf8c3400ffb (patch)
treef45dc8a6af3688b5108dd8b6b0db783c75339c89
parentdc46fa754baa446d5428ba38db0d637a17b91c57 (diff)
Allow expansion of undefined/NULL namespace variables
This restriction is not proving to get in the way.
-rw-r--r--build2/parser.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx
index 9fd584a..526a905 100644
--- a/build2/parser.cxx
+++ b/build2/parser.cxx
@@ -2363,8 +2363,10 @@ namespace build2
{
// Undefined/NULL namespace variables are not allowed.
//
- if (var.name.find ('.') != string::npos)
- fail (loc) << "undefined/null namespace variable " << var.name;
+ // @@ TMP this isn't proving to be particularly useful.
+ //
+ //if (var.name.find ('.') != string::npos)
+ //fail (loc) << "undefined/null namespace variable " << var.name;
// See if we should set the NULL indicator.
//