aboutsummaryrefslogtreecommitdiff
path: root/build2/token.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-21 15:03:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-21 15:03:26 +0200
commit67382c15f7e9176dea44c3da7f7013759c88ce33 (patch)
tree5ff4fe1436792a01d4a8576f1e0efa3ce2ff9c20 /build2/token.cxx
parent41f091f46b47c20dc1571db5d56a1eaade25cb1e (diff)
Add support for ==, != in eval context
Diffstat (limited to 'build2/token.cxx')
-rw-r--r--build2/token.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/token.cxx b/build2/token.cxx
index ed47740..a80ff44 100644
--- a/build2/token.cxx
+++ b/build2/token.cxx
@@ -24,6 +24,8 @@ namespace build2
case token_type::assign: os << "="; break;
case token_type::prepend: os << "=+"; break;
case token_type::append: os << "+="; break;
+ case token_type::equal: os << "=="; break;
+ case token_type::not_equal: os << "!="; break;
case token_type::dollar: os << "$"; break;
case token_type::lparen: os << "("; break;
case token_type::rparen: os << ")"; break;