aboutsummaryrefslogtreecommitdiff
path: root/build/lexer.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/lexer.cxx
parenteb264e1892c2a1379fa3bcab9aefea219e8e7138 (diff)
Clean up lexer mode logic
Diffstat (limited to 'build/lexer.cxx')
-rw-r--r--build/lexer.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/build/lexer.cxx b/build/lexer.cxx
index fb4d9ea..88628d3 100644
--- a/build/lexer.cxx
+++ b/build/lexer.cxx
@@ -83,12 +83,10 @@ namespace build
if (get () != '=')
fail (c) << "expected = after +";
- next_mode_ = lexer_mode::value;
return token (token_type::plus_equal, sep, ln, cn);
}
case '=':
{
- next_mode_ = lexer_mode::value;
return token (token_type::equal, sep, ln, cn);
}
}