aboutsummaryrefslogtreecommitdiff
path: root/build/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-02 08:54:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-02 08:54:00 +0200
commitbbd05eb0c32a9614f012a1d9b75cef736a1d4150 (patch)
tree590d19b96061666eeadf6ae36b907e05f6b79609 /build/parser.cxx
parent4372f041bb7401c3adc2d5710566b13f64722102 (diff)
Clean up clang warnings
Diffstat (limited to 'build/parser.cxx')
-rw-r--r--build/parser.cxx15
1 files changed, 8 insertions, 7 deletions
diff --git a/build/parser.cxx b/build/parser.cxx
index 16be5da..d887d5f 100644
--- a/build/parser.cxx
+++ b/build/parser.cxx
@@ -748,13 +748,14 @@ namespace build
{
switch (t.type ())
{
- case token_type::eos: os << "<end-of-stream>"; break;
- case token_type::newline: os << "<newline>"; break;
- case token_type::colon: os << ":"; break;
- case token_type::lcbrace: os << "{"; break;
- case token_type::rcbrace: os << "}"; break;
- case token_type::equal: os << "="; break;
- case token_type::name: os << t.name (); break;
+ case token_type::eos: os << "<end-of-stream>"; break;
+ case token_type::newline: os << "<newline>"; break;
+ case token_type::colon: os << ":"; break;
+ case token_type::lcbrace: os << "{"; break;
+ case token_type::rcbrace: os << "}"; break;
+ case token_type::equal: os << "="; break;
+ case token_type::plus_equal: os << "+="; break;
+ case token_type::name: os << t.name (); break;
}
return os;