From: Adam Dickmeiss Date: Thu, 2 Mar 2006 09:38:41 +0000 (+0000) Subject: BNF for nested queries. X-Git-Tag: YAZ.2.1.14~12 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=00c29e543cad41be04da3c74c33cbe8f1f47d3b9;hp=29ba0d3dcc93061615c53d8f22702646120338f2 BNF for nested queries. --- diff --git a/src/cqlstd.y b/src/cqlstd.y index 59b9ff8..cd2238d 100644 --- a/src/cqlstd.y +++ b/src/cqlstd.y @@ -1,4 +1,4 @@ -/* $Id: cqlstd.y,v 1.2 2006-03-02 09:37:35 adam Exp $ +/* $Id: cqlstd.y,v 1.3 2006-03-02 09:38:41 adam Exp $ YACC CQL grammar taken verbatim from the official spec. We don't use that in YAZ but I don't know of a better place to put it. */ @@ -23,7 +23,7 @@ booleanGroup: boolean | boolean modifierList; boolean : AND | OR | NOT | PROX ; searchClause : '(' cqlQuery ')' - | index relation searchTerm + | index relation searchClause | searchTerm ;