X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcclfind.c;h=072fdabc0aa86d23c5a5e4459ddbf53568c835a9;hb=0e7fdbc857d4905e67a7bdf8fe5b6c773ee47a7b;hp=8d4e133419a9cfd23f7281428fa91cfc0e8828b5;hpb=e5a3bea3827a893295f7d4d30fbb2fbacd27d02e;p=yaz-moved-to-github.git diff --git a/src/cclfind.c b/src/cclfind.c index 8d4e133..072fdab 100644 --- a/src/cclfind.c +++ b/src/cclfind.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ /** @@ -1022,7 +1022,7 @@ static struct ccl_rpn_node *search_elements(CCL_parser cclp, break; lookahead = lookahead->next; } - if (qa) + if (qa || lookahead->kind == CCL_TOK_LP) return search_terms(cclp, qa); else {