From: Adam Dickmeiss Date: Mon, 18 Mar 2002 18:14:34 +0000 (+0000) Subject: Fixed CCL parsing of "field = - " X-Git-Tag: YAZ.1.8.6~20 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=c4d8d77293c838ebb69fc2dbafe12a0d39599d1b;p=yaz-moved-to-github.git Fixed CCL parsing of "field = - " --- diff --git a/CHANGELOG b/CHANGELOG index 54e3796..926887a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,9 +2,11 @@ Possible compatibility problems with earlier versions marked with '*'. --- 1.8.6 2002/MM/DD -WIN32 installer using the excellent NSIS software from nullsoft. +Fixed CCL parsing of "field=s". -Fix bug in CCL parser when form "field = - " was used. +WIN32 installer - using the excellent NSIS software from nullsoft. + +Fixed CCL parsing of "field = - ". Added function yaz_marc_decode that decodes MARC for line mode display or XML. diff --git a/ccl/cclfind.c b/ccl/cclfind.c index 0708319..579491e 100644 --- a/ccl/cclfind.c +++ b/ccl/cclfind.c @@ -44,7 +44,7 @@ /* CCL find (to rpn conversion) * Europagate, 1995 * - * $Id: cclfind.c,v 1.28 2002-03-13 11:47:23 adam Exp $ + * $Id: cclfind.c,v 1.29 2002-03-18 18:14:34 adam Exp $ * * Old Europagate log: * @@ -726,7 +726,7 @@ static struct ccl_rpn_node *search_terms (CCL_parser cclp, struct ccl_rpn_attr **qa) { static int list[] = { - CCL_TOK_TERM, CCL_TOK_COMMA,CCL_TOK_EQ, CCL_TOK_REL, -1}; + CCL_TOK_TERM, CCL_TOK_COMMA,CCL_TOK_EQ, CCL_TOK_REL, CCL_TOK_SET, -1}; struct ccl_rpn_node *p1, *p2, *pn; p1 = search_term_x (cclp, qa, list, 1); if (!p1)