summaryrefslogtreecommitdiff
path: root/src/query.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-11-10 01:26:38 -0600
committerJohn Wiegley <johnw@newartisans.com>2011-11-10 01:26:38 -0600
commitf4fd2ab1e5b2b409aade83cc91541314b723ea13 (patch)
tree9c4b95ae78384b3327efd93f9880e90aaace27f6 /src/query.h
parent37e9ec8030a2634cbe9b2727f4d5530a582292c7 (diff)
downloadfork-ledger-f4fd2ab1e5b2b409aade83cc91541314b723ea13.tar.gz
fork-ledger-f4fd2ab1e5b2b409aade83cc91541314b723ea13.tar.bz2
fork-ledger-f4fd2ab1e5b2b409aade83cc91541314b723ea13.zip
Corrections to the query language parser
Fixes #552
Diffstat (limited to 'src/query.h')
-rw-r--r--src/query.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.h b/src/query.h
index b5b3b0fc..502ea445 100644
--- a/src/query.h
+++ b/src/query.h
@@ -222,7 +222,7 @@ public:
TRACE_DTOR(query_t::lexer_t);
}
- token_t next_token();
+ token_t next_token(token_t::kind_t tok_context = token_t::UNKNOWN);
void push_token(token_t tok) {
assert(token_cache.kind == token_t::UNKNOWN);
token_cache = tok;