aboutsummaryrefslogtreecommitdiff
path: root/build2/token
diff options
context:
space:
mode:
Diffstat (limited to 'build2/token')
-rw-r--r--build2/token11
1 files changed, 1 insertions, 10 deletions
diff --git a/build2/token b/build2/token
index 31e7baa..6202f44 100644
--- a/build2/token
+++ b/build2/token
@@ -36,8 +36,7 @@ namespace build2
bool separated; // Whitespace-separated from the previous token.
bool quoted; // Name (or some part of it) was quoted.
- char pair; // Only valid for pair_separator.
- string value; // Only valid for name.
+ string value; // Only valid for name.
uint64_t line;
uint64_t column;
@@ -46,14 +45,6 @@ namespace build2
token (token_type t, bool s, uint64_t l, uint64_t c)
: type (t), separated (s), quoted (false), line (l), column (c) {}
- token (char p, bool s, uint64_t l, uint64_t c)
- : type (token_type::pair_separator),
- separated (s),
- quoted (false),
- pair (p),
- line (l),
- column (c) {}
-
token (string n, bool s, bool q, uint64_t l, uint64_t c)
: type (token_type::name),
separated (s),