diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-04 07:27:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-27 08:35:29 +0200 |
commit | a54abb2f4e5e66877619097bfd281261f99c5103 (patch) | |
tree | b10a24fd2c5d1d1dd2602f25cc7228b287200cbb /libbuild2/token.cxx | |
parent | e63b427c51e37135e50dec9435659d661872fe95 (diff) |
Add recognition for line-leading `%` as token
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 4975a02..11b080e 100644 --- a/libbuild2/token.cxx +++ b/libbuild2/token.cxx @@ -24,6 +24,7 @@ namespace build2 case token_type::colon: os << q << ':' << q; break; case token_type::dollar: os << q << '$' << q; break; case token_type::question: os << q << '?' << q; break; + case token_type::percent: os << q << '%' << q; break; case token_type::comma: os << q << ',' << q; break; case token_type::lparen: os << q << '(' << q; break; |