aboutsummaryrefslogtreecommitdiff
path: root/build/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-08 13:28:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-08 13:43:26 +0200
commitb5940dd5562bfa12d6d76dceb61540b4480a4982 (patch)
tree1e8095300b5413ca510baa10bcb840101b06417c /build/parser.cxx
parentefd76ff778c0b7b1f8cb9e0485bb9b4b62b149a7 (diff)
Use mode stack in lexer
Diffstat (limited to 'build/parser.cxx')
-rw-r--r--build/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parser.cxx b/build/parser.cxx
index f140bc7..2daf1ce 100644
--- a/build/parser.cxx
+++ b/build/parser.cxx
@@ -1024,7 +1024,7 @@ namespace build
bool paren (tt == type::lparen);
if (paren)
{
- lexer_->mode (lexer_mode::normal);
+ lexer_->expire_mode ();
next (t, tt);
}