aboutsummaryrefslogtreecommitdiff
path: root/build/file.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-14 10:12:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-14 10:12:23 +0200
commite649f2d988ce4e7a67aee1236850eb0b95a97d56 (patch)
treea1fe2ea19e24ba1d018fe08633f70be8489d607e /build/file.cxx
parentde3f340fac96aca1e626068cbbb22ec92c1dc4b6 (diff)
Add support for variable prepend operator: =+
Diffstat (limited to 'build/file.cxx')
-rw-r--r--build/file.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/file.cxx b/build/file.cxx
index 73ce7cb..b4b1b77 100644
--- a/build/file.cxx
+++ b/build/file.cxx
@@ -283,6 +283,7 @@ namespace build
if (t.type != token_type::name || t.value != var ||
((tt = lex.next ().type) != token_type::equal &&
+ tt != token_type::equal_plus &&
tt != token_type::plus_equal))
{
error << "variable '" << var << "' expected as first line in " << rbf;