From e4e5f0bfaa1fcb5eb12cc37df216352df226b01e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 5 Mar 2013 10:12:40 +0100 Subject: [PATCH] CQL: accept relations "within", "encloses" --- src/cql.y | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 1.7.10.4