diff options
Diffstat (limited to 'src/query.h')
-rw-r--r-- | src/query.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; } }; |