From: Adam Dickmeiss Date: Thu, 21 Mar 2002 23:06:36 +0000 (+0000) Subject: Source 'tag' in abs-file X-Git-Tag: CHANGELOG~14 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=886253fb90810e512cacf4f02694645ead7a22e0;p=idzebra-moved-to-github.git Source 'tag' in abs-file --- diff --git a/recctrl/recgrs.c b/recctrl/recgrs.c index 57b144b..ea2dff0 100644 --- a/recctrl/recgrs.c +++ b/recctrl/recgrs.c @@ -3,7 +3,10 @@ * All rights reserved. * * $Log: recgrs.c,v $ - * Revision 1.42 2002-02-20 17:30:01 adam + * Revision 1.43 2002-03-21 23:06:36 adam + * Source 'tag' in abs-file + * + * Revision 1.42 2002/02/20 17:30:01 adam * Work on new API. Locking system re-implemented * * Revision 1.41 2001/05/22 21:01:47 adam @@ -348,6 +351,11 @@ static void index_tag (data1_node *par, data1_node *n, wrd->string = n->u.data.data; wrd->length = n->u.data.len; } + else if (!strcmp (tlist->source, "tag") && n->which == DATA1N_tag) + { + wrd->string = n->u.tag.tag; + wrd->length = strlen(n->u.tag.tag); + } else if (sscanf (tlist->source, "attr(%511[^)])", xattr) == 1 && n->which == DATA1N_tag) {