From 86cdcdcf11982281aa286682faf604cff3b1c7d1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Apr 2016 11:29:58 +0200 Subject: Make name::pair char again The plan is to represent scope/target-qualified variables as ':'-style pairs. --- build2/file.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/file.cxx') diff --git a/build2/file.cxx b/build2/file.cxx index b735cab..e494f5a 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -594,6 +594,9 @@ namespace build2 string n; if (i->pair) { + if (i->pair != '@') + fail << "unexpected pair style in variable subprojects"; + try { n = convert (move (*i)); -- cgit v1.1