projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Member num_children removed from data1_node.
[idzebra-moved-to-github.git]
/
recctrl
/
marcread.c
diff --git
a/recctrl/marcread.c
b/recctrl/marcread.c
index
2efa90d
..
dac48d0
100644
(file)
--- a/
recctrl/marcread.c
+++ b/
recctrl/marcread.c
@@
-4,7
+4,13
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: marcread.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: marcread.c,v $
- * Revision 1.3 1997-09-24 13:36:51 adam
+ * Revision 1.5 1997-11-18 10:03:24 adam
+ * Member num_children removed from data1_node.
+ *
+ * Revision 1.4 1997/10/27 14:34:26 adam
+ * Fixed bug - data1 root node wasn't tagged at all!
+ *
+ * Revision 1.3 1997/09/24 13:36:51 adam
* *** empty log message ***
*
* Revision 1.2 1997/09/17 12:19:21 adam
* *** empty log message ***
*
* Revision 1.2 1997/09/17 12:19:21 adam
@@
-39,7
+45,6
@@
data1_node *data1_mk_node_wp (data1_handle dh, NMEM mem, data1_node *parent)
parent->child = parent->last_child = res;
else
parent->last_child->next = res;
parent->child = parent->last_child = res;
else
parent->last_child->next = res;
- parent->num_children++;
parent->last_child = res;
}
return res;
parent->last_child = res;
}
return res;
@@
-158,6
+163,7
@@
data1_node *grs_read_marc (struct grs_read_info *p)
return NULL;
}
res_root = data1_mk_node_wp (p->dh, p->mem, NULL);
return NULL;
}
res_root = data1_mk_node_wp (p->dh, p->mem, NULL);
+ res_root->which = DATA1N_root;
res_root->u.root.type = nmem_malloc (p->mem, strlen(absynName)+1);
strcpy (res_root->u.root.type, absynName);
res_root->u.root.absyn = absyn;
res_root->u.root.type = nmem_malloc (p->mem, strlen(absynName)+1);
strcpy (res_root->u.root.type, absynName);
res_root->u.root.absyn = absyn;