diff options
Diffstat (limited to 'src/recursivedescent.cc')
-rw-r--r-- | src/recursivedescent.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/recursivedescent.cc b/src/recursivedescent.cc index e490865..de7aa39 100644 --- a/src/recursivedescent.cc +++ b/src/recursivedescent.cc @@ -346,7 +346,8 @@ Operator::ParseResult Binc::expectListMailbox(string &s_in) if ((res = expectString(s_in)) == Operator::ACCEPT) return Operator::ACCEPT; int c; - if ((res = expectAtomChar(c)) == Operator::ACCEPT || (res = expectListWildcards(c)) == Operator::ACCEPT + if ((res = expectAtomChar(c)) == Operator::ACCEPT + || (res = expectListWildcards(c)) == Operator::ACCEPT || (res = expectThisString("]")) == Operator::ACCEPT) { do { |