From: Adam Dickmeiss Date: Tue, 5 Mar 2013 09:12:40 +0000 (+0100) Subject: CQL: accept relations "within", "encloses" X-Git-Tag: v4.2.52~14 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=e4e5f0bfaa1fcb5eb12cc37df216352df226b01e;p=yaz-moved-to-github.git CQL: accept relations "within", "encloses" --- diff --git a/src/cql.y b/src/cql.y index d1d5d1b..ea828dc 100644 --- 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; }