aboutsummaryrefslogtreecommitdiff
path: root/build2/token
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-18 17:54:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-28 16:03:34 +0200
commitcf59a5fa548cfa72ab0b56334afea5c031faf27b (patch)
treed9193ee747f85f9e2763b98c386057fa6f15ff63 /build2/token
parente9563995b01162a8ec4aa24b5342dcdc2eeba154 (diff)
Enable @-delimited pairs mode everywhere
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),