truncation=both was in effect.
Possible compatibility problems with earlier versions marked with '*'.
+Fixed bug in CCL parser where truncation char was not removed when
+truncation=both was in effect.
+
Added odr_set_stream which is is a more generic to odr_setprint.
odr_set_stream takes a stream handle, pointer to puts function and
pointer to close function. The close function - if non-NULL - will be
/* CCL find (to rpn conversion)
* Europagate, 1995
*
- * $Id: cclfind.c,v 1.2 2004-08-11 09:02:48 adam Exp $
+ * $Id: cclfind.c,v 1.3 2004-08-11 20:13:36 adam Exp $
*
* Old Europagate log:
*
else
add_attr_numeric (p, attset, CCL_BIB1_STR, 1);
}
-
+
/* make the RPN token */
p->u.t.term = (char *)xmalloc (len);
ccl_assert (p->u.t.term);
src_len--;
src_str++;
}
- else if (i == no-1 && right_trunc)
+ if (i == no-1 && right_trunc)
src_len--;
if (src_len)
{