diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-03-20 08:40:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-03-20 08:40:59 +0200 |
commit | ce29e3d72ded432b9ac9354ac92c588142de9b89 (patch) | |
tree | fd7acd2d0e34b10315b5572f98619dbbf285c177 /libbuild2/token.cxx | |
parent | aeda0dedb2cdb0980d976ae92e1672476b62d7ed (diff) |
Lexer support for default value assignment (?=)
Note: not yet supported in the parser.
Diffstat (limited to 'libbuild2/token.cxx')
-rw-r--r-- | libbuild2/token.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbuild2/token.cxx b/libbuild2/token.cxx index 0f9a189..4975a02 100644 --- a/libbuild2/token.cxx +++ b/libbuild2/token.cxx @@ -41,6 +41,7 @@ namespace build2 case token_type::assign: os << q << '=' << q; break; case token_type::prepend: os << q << "=+" << q; break; case token_type::append: os << q << "+=" << q; break; + case token_type::default_assign: os << q << "?=" << q; break; case token_type::equal: os << q << "==" << q; break; case token_type::not_equal: os << q << "!=" << q; break; |