X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Frpn2cql.c;h=aef1cfd22def2c110b5a06ce7a06610baafbb49e;hb=23d1547f65851be2000c717bbddf32b380e2900e;hp=d892986c62b4692a23300ec4f83eda49f1bf5c67;hpb=ea883a980a6b7c787a7f68d3e270d94630048666;p=yaz-moved-to-github.git diff --git a/src/rpn2cql.c b/src/rpn2cql.c index d892986..aef1cfd 100644 --- a/src/rpn2cql.c +++ b/src/rpn2cql.c @@ -220,20 +220,43 @@ static int rpn2cql_simple(cql_transform_t ct, int must_quote = 0; Odr_int trunc = lookup_truncation(apt->attributes); - if (trunc > 3 && trunc != 100) + if (trunc > 3 && trunc != 100 && trunc != 102) { cql_transform_set_error( ct, YAZ_BIB1_UNSUPP_TRUNCATION_ATTRIBUTE, 0); ret = -1; } for (i = 0 ; i < lterm; i++) - if (sterm[i] == ' ') + if (strchr(" ()=>