From cf59a5fa548cfa72ab0b56334afea5c031faf27b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 18 Mar 2016 17:54:37 +0200 Subject: Enable @-delimited pairs mode everywhere --- build2/token | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'build2/token') 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), -- cgit v1.1