diff --git a/find.c b/find.c index 2b5e039..d4d7864 100644 --- a/find.c +++ b/find.c @@ -802,7 +802,8 @@ parse(int argc, char **argv) } else if ((op = find_op(*arg))) { /* token is an operator */ if (lasttype == LPAR && op->type == RPAR) eprintf("empty parens\n"); - if ((lasttype == PRIM || lasttype == RPAR) && op->type == NOT) { /* need another implicit -a */ + if ((lasttype == PRIM || lasttype == RPAR) && + (op->type == NOT || op->type == LPAR)) { /* need another implicit -a */ *tok++ = and; ntok++; }