summaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-14 17:25:28 -0800
committerGitHub <noreply@github.com>2019-01-14 17:25:28 -0800
commitf2617fc69cdd4920fb6a78122b621e3db3f9ba58 (patch)
tree68ddb1e2efbb52e83f74ce9a2498e1875b6e2009 /src/query.cc
parent5a54f079c0f511b95777013288c335d11a7552aa (diff)
parent4bc6db4abc83a65c822a83588189fa9db39754f1 (diff)
downloadfork-ledger-f2617fc69cdd4920fb6a78122b621e3db3f9ba58.tar.gz
fork-ledger-f2617fc69cdd4920fb6a78122b621e3db3f9ba58.tar.bz2
fork-ledger-f2617fc69cdd4920fb6a78122b621e3db3f9ba58.zip
Merge pull request #540 from scfc/fix-warnings-for-implicit-fallthrough
Fix warnings for -Wimplicit-fallthrough
Diffstat (limited to 'src/query.cc')
-rw-r--r--src/query.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/query.cc b/src/query.cc
index fc1d4ff0..883bea40 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -155,6 +155,7 @@ query_t::lexer_t::next_token(query_t::lexer_t::token_t::kind_t tok_context)
case ')':
if (! consume_next && tok_context == token_t::TOK_EXPR)
goto test_ident;
+ // fall through...
case '(':
case '&':
case '|':