diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-08 11:10:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-08 11:10:46 +0200 |
commit | 18af73df698e560b847e46d524d059d2921876d5 (patch) | |
tree | 2607b489bf892111a7755cdf158daa928c6d9bd4 /build/lexer.cxx | |
parent | eb264e1892c2a1379fa3bcab9aefea219e8e7138 (diff) |
Clean up lexer mode logic
Diffstat (limited to 'build/lexer.cxx')
-rw-r--r-- | build/lexer.cxx | 2 |
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); } } |