diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-05 11:29:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-05 11:29:58 +0200 |
commit | 86cdcdcf11982281aa286682faf604cff3b1c7d1 (patch) | |
tree | aaecefd0169ad6ef27f375d8a64acd6f30574730 /build2/file.cxx | |
parent | 4461d80e680bc81eaad28bac58015660f5bc105e (diff) |
Make name::pair char again
The plan is to represent scope/target-qualified variables as ':'-style pairs.
Diffstat (limited to 'build2/file.cxx')
-rw-r--r-- | build2/file.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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<string> (move (*i)); |