diff options
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)); |