diff options
author | John Wiegley <johnw@newartisans.com> | 2011-11-10 17:28:24 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-11-10 17:28:24 -0600 |
commit | c2c11d43ca14aad1884ab6efc4637245a4c16746 (patch) | |
tree | 4294a205e76c196a2c05674e3ba774edd83ad730 /src/query.h | |
parent | f4fd2ab1e5b2b409aade83cc91541314b723ea13 (diff) | |
download | fork-ledger-c2c11d43ca14aad1884ab6efc4637245a4c16746.tar.gz fork-ledger-c2c11d43ca14aad1884ab6efc4637245a4c16746.tar.bz2 fork-ledger-c2c11d43ca14aad1884ab6efc4637245a4c16746.zip |
More report query fixes
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; } }; |