aboutsummaryrefslogtreecommitdiff
path: root/build2/token.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-04 08:46:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:22 +0200
commit4b1f902b33d0826ccb2f6d5a1ceb8db7bdd2defe (patch)
tree9f0fcddb0b6cad34965a7ca330c3cd8b033c195d /build2/token.cxx
parent08aba2ee7cf407c9c25233ebbf43d0310e0f1b5e (diff)
Change token type 'name' to more general 'word'
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;