X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zutil%2Fpquery.c;h=92e45d435335247df596937193b888053448811f;hp=c7e2e8418f7bf3217dcbd7257628ef6a509f96ef;hb=da907ba05501a2050d0a70b1d1fdf22a8130589a;hpb=96dd068fd2057b2123ae9444fa441e4738776d87 diff --git a/zutil/pquery.c b/zutil/pquery.c index c7e2e84..92e45d4 100644 --- a/zutil/pquery.c +++ b/zutil/pquery.c @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: pquery.c,v $ - * Revision 1.5 2001-02-21 13:46:54 adam + * Revision 1.6 2001-03-07 13:24:40 adam + * Member and_not in Z_Operator is kept for backwards compatibility. + * Added support for definition of CCL operators in field spec file. + * + * Revision 1.5 2001/02/21 13:46:54 adam * C++ fixes. * * Revision 1.4 1999/12/21 16:25:20 adam @@ -378,15 +382,15 @@ static Z_Complex *rpn_complex (struct lex_info *li, ODR o, oid_proto proto, { case 'a': zo->which = Z_Operator_and; - zo->u.op_and = odr_nullval(); + zo->u.and_not = odr_nullval(); break; case 'o': zo->which = Z_Operator_or; - zo->u.op_or = odr_nullval(); + zo->u.and_not = odr_nullval(); break; case 'n': zo->which = Z_Operator_and_not; - zo->u.op_and_not = odr_nullval(); + zo->u.and_not = odr_nullval(); break; case 'p': zo->which = Z_Operator_prox;