CQL: ajd is a CQL 2.0 relation
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 10 May 2011 10:09:53 +0000 (12:09 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 10 May 2011 10:09:53 +0000 (12:09 +0200)
src/cql.y

index abafa28..5041a3d 100644 (file)
--- a/src/cql.y
+++ b/src/cql.y
@@ -388,6 +388,8 @@ int yylex(YYSTYPE *lval, void *vp)
            relation_like = 1;
        if (!cql_strcmp(lval->buf, "any"))
            relation_like = 1;
+       if (!cql_strcmp(lval->buf, "adj"))
+           relation_like = 1;
        if (relation_like)
            return PREFIX_NAME;
     }