From c2c11d43ca14aad1884ab6efc4637245a4c16746 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 10 Nov 2011 17:28:24 -0600 Subject: More report query fixes --- src/query.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/query.h') diff --git a/src/query.h b/src/query.h index 502ea445..aca31b61 100644 --- a/src/query.h +++ b/src/query.h @@ -227,9 +227,9 @@ public: assert(token_cache.kind == token_t::UNKNOWN); token_cache = tok; } - token_t peek_token() { + token_t peek_token(token_t::kind_t tok_context = token_t::UNKNOWN) { if (token_cache.kind == token_t::UNKNOWN) - token_cache = next_token(); + token_cache = next_token(tok_context); return token_cache; } }; -- cgit v1.2.3