X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Frpn2cql.c;h=79dd9ddb22f5e7179b777411a2f668adee5ea01b;hp=c59ca90579de82e362b1c7a72b099f890cfb1cda;hb=e4e5f0bfaa1fcb5eb12cc37df216352df226b01e;hpb=5242cb5a8634bfa38b9333ff7f903e718ac6e292 diff --git a/src/rpn2cql.c b/src/rpn2cql.c index c59ca90..79dd9dd 100644 --- a/src/rpn2cql.c +++ b/src/rpn2cql.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ /** @@ -218,10 +218,17 @@ static int rpn2cql_simple(cql_transform_t ct, if (trunc <= 3 || trunc == 100 || trunc == 102 || trunc == 104) { + int quote_it = 0; for (i = 0 ; i < lterm; i++) if (strchr(" ()=>