summaryrefslogtreecommitdiff
path: root/src/query.h
diff options
context:
space:
mode:
authorJohn Wiegley <john@dfinity.org>2019-09-17 16:54:58 -0700
committerJohn Wiegley <john@dfinity.org>2019-09-17 16:54:58 -0700
commit49b07a1c19489547b859d61fbc5c240aff224dda (patch)
tree5ca9ca47638ac1b0c4f8f13e73b64b07ace410a9 /src/query.h
parentdba961a6c35719e2ca7da3cd9c5627b9ef6036df (diff)
downloadfork-ledger-49b07a1c19489547b859d61fbc5c240aff224dda.tar.gz
fork-ledger-49b07a1c19489547b859d61fbc5c240aff224dda.tar.bz2
fork-ledger-49b07a1c19489547b859d61fbc5c240aff224dda.zip
Correction to the way parens are parsed in query expressions
Diffstat (limited to 'src/query.h')
-rw-r--r--src/query.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/query.h b/src/query.h
index f7d48d32..07093d70 100644
--- a/src/query.h
+++ b/src/query.h
@@ -223,6 +223,7 @@ public:
TRACE_DTOR(query_t::lexer_t);
}
+ bool advance();
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);