From: Adam Dickmeiss Date: Thu, 14 Dec 2006 08:55:52 +0000 (+0000) Subject: For the CQL parser, make boolean node names lowercase. X-Git-Tag: YAZ.2.1.42~7 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=b5fec6a001dbcd8b303a11cede8b6c55512dbda0 For the CQL parser, make boolean node names lowercase. --- diff --git a/src/cql.y b/src/cql.y index f4293e7..d01405d 100644 --- a/src/cql.y +++ b/src/cql.y @@ -1,4 +1,4 @@ -/* $Id: cql.y,v 1.11 2006-10-05 16:19:16 adam Exp $ +/* $Id: cql.y,v 1.12 2006-12-14 08:55:52 adam Exp $ Copyright (C) 2002-2006 Index Data ApS @@ -135,7 +135,10 @@ searchClause: /* unary NOT search TERM here .. */ boolean: - AND | OR | NOT | PROX + AND { $$.buf = "and"; } +| OR { $$.buf = "or"; } +| NOT { $$.buf = "not"; } +| PROX { $$.buf = "prox"; } ; modifiers: modifiers '/' searchTerm