aboutsummaryrefslogtreecommitdiff
path: root/build2/token.cxx
diff options
context:
space:
mode:
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 bf2249f..df0d8ce 100644
--- a/build2/token.cxx
+++ b/build2/token.cxx
@@ -20,7 +20,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::name: os << '\'' << t.value << '\''; break;
+ case token_type::word: os << '\'' << t.value << '\''; break;
case token_type::colon: os << q << ':' << q; break;
case token_type::lcbrace: os << q << '{' << q; break;