Use def_elt_end instead of destroying the context directly.
[gedcom-parse.git] / gom / gom_internal.h
index 476cc9e362a7a1ed790f969d47c7912daf845b9f..9f1e6ea03c9556bc4826129352295ae643cdf259 100644 (file)
@@ -52,7 +52,9 @@ typedef enum {
   T_address, T_event, T_place, T_source_citation, T_text,
   T_note_sub, T_multimedia_link, T_lds_event, T_user_ref_number,
   T_change_date, T_personal_name, T_family_link, T_pedigree,
-  T_association, T_source_event, T_source_description
+  T_association, T_source_event, T_source_description,
+
+  T_LAST
 } OBJ_TYPE;
 
 /* Assumptions for context:
@@ -77,6 +79,7 @@ void gom_no_context(const char* file, int line);
 void gom_unexpected_context(const char* file, int line, OBJ_TYPE found);
 void gom_xref_already_in_use(const char *xrefstr);
 void gom_move_error(const char* type);
+void gom_find_error(const char* type);
 void unref_xref_value(struct xref_value *xref);
 
 int gom_write_xref_list(Gedcom_write_hndl hndl,