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:
a0b4e78
)
CQL: accept relations "within", "encloses"
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 Mar 2013 09:12:40 +0000
(10:12 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 Mar 2013 09:12:40 +0000
(10:12 +0100)
src/cql.y
patch
|
blob
|
history
diff --git
a/src/cql.y
b/src/cql.y
index
d1d5d1b
..
ea828dc
100644
(file)
--- a/
src/cql.y
+++ b/
src/cql.y
@@
-390,6
+390,10
@@
int yylex(YYSTYPE *lval, void *vp)
relation_like = 1;
if (!cql_strcmp(lval->buf, "adj"))
relation_like = 1;
+ if (!cql_strcmp(lval->buf, "within"))
+ relation_like = 1;
+ if (!cql_strcmp(lval->buf, "encloses"))
+ relation_like = 1;
if (relation_like)
return PREFIX_NAME;
}