dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use def_elt_end instead of destroying the context directly.
[gedcom-parse.git]
/
gom
/
note_sub.c
diff --git
a/gom/note_sub.c
b/gom/note_sub.c
index e523b32ba120dc0cece1800f11f24642d0922180..7facc415060bb3786be424a282952525be452b3b 100644
(file)
--- 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;
}
else
obj->text = newvalue;
}
- de
stroy_gom_ctxt(ctxt
);
+ de
f_elt_end(elt, parent, self, parsed_value
);
}
}
}
DEFINE_SUB_MAKEFUNC(note_sub)
}
}
}
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)
DEFINE_ADDFUNC2(note_sub, source_citation, citation)
DEFINE_ADDFUNC2(note_sub, user_data, extra)