projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For the CQL parser, make boolean node names lowercase.
[yaz-moved-to-github.git]
/
src
/
cql.y
diff --git
a/src/cql.y
b/src/cql.y
index
b0b26e2
..
d01405d
100644
(file)
--- a/
src/cql.y
+++ b/
src/cql.y
@@
-1,6
+1,6
@@
-/* $Id: cql.y,v 1.10 2006-10-05 16:13:34 adam Exp $
- Copyright (C) 2002-2004
- Index Data Aps
+/* $Id: cql.y,v 1.12 2006-12-14 08:55:52 adam Exp $
+ Copyright (C) 2002-2006
+ Index Data ApS
This file is part of the YAZ toolkit.
This file is part of the YAZ toolkit.
@@
-135,7
+135,10
@@
searchClause:
/* unary NOT search TERM here .. */
boolean:
/* 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
;
modifiers: modifiers '/' searchTerm