+/* make sure that the rset has a term attached. If not, create one */
+/* we need these terms for the tags, to distinguish what we read */
+static void checkterm( RSET rs, char *tag, NMEM nmem)
+{
+ if (!rs->term)
+ {
+ rs->term=
+ rset_term_create(tag,strlen(tag),"",0,nmem);
+ rs->term->rset=rs;
+ }
+}
+
+