diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-21 08:47:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-21 08:47:07 +0200 |
commit | 075404d03607048609a6f1b226d8e2845806b838 (patch) | |
tree | 2b0a958928a19e013c9b3c559e25504876fe94ae /build2/lexer.cxx | |
parent | c7c3fd96e97ae2ec3914d36cb920a6f02c9a3414 (diff) |
Rename equal token to assign, etc
Diffstat (limited to 'build2/lexer.cxx')
-rw-r--r-- | build2/lexer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/lexer.cxx b/build2/lexer.cxx index aa216aa..65bb5e9 100644 --- a/build2/lexer.cxx +++ b/build2/lexer.cxx @@ -93,17 +93,17 @@ namespace build2 if (peek () == '+') { get (); - return token (type::equal_plus, sep, ln, cn); + return token (type::prepend, sep, ln, cn); } else - return token (type::equal, sep, ln, cn); + return token (type::assign, sep, ln, cn); } case '+': { if (peek () == '=') { get (); - return token (type::plus_equal, sep, ln, cn); + return token (type::append, sep, ln, cn); } } } |