aboutsummaryrefslogtreecommitdiff
path: root/build2/token.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-26 12:43:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-26 12:43:15 +0200
commitf6e6cfc3b5c7c84dedddc95084c423608769d4b7 (patch)
tree6602234ad3d053280ed43c3fc66391fcc9ae6356 /build2/token.cxx
parenta7432e49d4c5009990da9bafb9c62a9542b04ac6 (diff)
Fix bug in pair handling
Diffstat (limited to 'build2/token.cxx')
-rw-r--r--build2/token.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/token.cxx b/build2/token.cxx
index a721239..6f2eae5 100644
--- a/build2/token.cxx
+++ b/build2/token.cxx
@@ -19,7 +19,7 @@ namespace build2
{
case token_type::eos: os << "<end of file>"; break;
case token_type::newline: os << "<newline>"; break;
- case token_type::pair_separator: os << "<pair separator>"; break;
+ case token_type::pair_separator: os << "<pair separator " << t.value[0] << ">"; break;
case token_type::word: os << '\'' << t.value << '\''; break;
case token_type::colon: os << q << ':' << q; break;