aboutsummaryrefslogtreecommitdiff
path: root/build2/token
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-18 13:28:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:25 +0200
commite9b052c520bbf98e060ac2ec4e1e482263038dec (patch)
tree939103dff667d5de12f6ea8abfd50210ca676031 /build2/token
parentfc27ec48c9d63879e4b0f049060e943233cb540d (diff)
Keep track of lexer mode in parser replay mechanism
Diffstat (limited to 'build2/token')
-rw-r--r--build2/token2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/token b/build2/token
index d172e0d..517bf47 100644
--- a/build2/token
+++ b/build2/token
@@ -92,6 +92,8 @@ namespace build2
printer (&token_printer) {}
};
+ using tokens = vector<token>;
+
// Output the token value in a format suitable for diagnostics.
//
inline ostream&