From 1eff78da255a1cbebade185a0d0e2bf8c3400ffb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 17 Aug 2016 14:43:11 +0200 Subject: Allow expansion of undefined/NULL namespace variables This restriction is not proving to get in the way. --- build2/parser.cxx | 6 ++++-- 1 file 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. // -- cgit v1.1