projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69cc5b1
)
For the CQL parser, make boolean node names lowercase.
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 Dec 2006 08:55:52 +0000
(08:55 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 Dec 2006 08:55:52 +0000
(08:55 +0000)
src/cql.y
patch
|
blob
|
history
diff --git
a/src/cql.y
b/src/cql.y
index
f4293e7
..
d01405d
100644
(file)
--- 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