aboutsummaryrefslogtreecommitdiff
path: root/build/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-08 11:10:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-08 11:10:46 +0200
commit18af73df698e560b847e46d524d059d2921876d5 (patch)
tree2607b489bf892111a7755cdf158daa928c6d9bd4 /build/parser.cxx
parenteb264e1892c2a1379fa3bcab9aefea219e8e7138 (diff)
Clean up lexer mode logic
Diffstat (limited to 'build/parser.cxx')
-rw-r--r--build/parser.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/parser.cxx b/build/parser.cxx
index 6c3e4bc..f140bc7 100644
--- a/build/parser.cxx
+++ b/build/parser.cxx
@@ -637,6 +637,7 @@ namespace build
? &scope_->assign (*var)
: &scope_->append (*var);
next (t, tt); // Consume =/+=.
+ lexer_->mode (lexer_mode::value);
next (t, tt);
}
}