X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fnote_sub.c;h=7facc415060bb3786be424a282952525be452b3b;hb=1b7536d78e236978e83fbf8acc9f90e2141e13b0;hp=e523b32ba120dc0cece1800f11f24642d0922180;hpb=f197c791489f1537db4aebc7ce29b6d4f9adc2b3;p=gedcom-parse.git diff --git a/gom/note_sub.c b/gom/note_sub.c index e523b32..7facc41 100644 --- a/gom/note_sub.c +++ b/gom/note_sub.c @@ -126,12 +126,16 @@ void sub_note_end(_ELT_END_PARAMS_) else obj->text = newvalue; } - destroy_gom_ctxt(ctxt); + def_elt_end(elt, parent, self, parsed_value); } } } DEFINE_SUB_MAKEFUNC(note_sub) +DEFINE_SUB_ADDFUNC(note_sub) +DEFINE_SUB_FINDFUNC(note_sub) +DEFINE_SUB_REMOVEFUNC(note_sub) +DEFINE_SUB_MOVEFUNC(note_sub) DEFINE_ADDFUNC2(note_sub, source_citation, citation) DEFINE_ADDFUNC2(note_sub, user_data, extra)