/* These are defined at the bottom of the file */
void push_countarray();
-void set_parenttag(char* tag);
+void set_parenttag(const char* tag);
char* get_parenttag(int offset);
void set_parentctxt(Gedcom_ctxt ctxt);
Gedcom_ctxt get_parentctxt(int offset);
/* HEAD.TIME (Only for 'Lifelines' compatibility) */
/* Just ignore the time... */
-head_time_sect : OPEN DELIM TAG_TIME opt_line_item
- { }
- CLOSE
+head_time_sect : OPEN DELIM TAG_TIME opt_line_item CLOSE
+ { gedcom_warning(_("Header change time lost in the compatibility"));
+ }
;
/* HEAD.SUBM */
asso_sect : OPEN DELIM TAG_ASSO mand_pointer
{ struct xref_value *xr = gedcom_parse_xref($4, XREF_USED,
- XREF_INDI);
+ XREF_ANY);
if (xr == NULL) HANDLE_ERROR;
$<ctxt>$ = start_element(ELT_SUB_ASSO,
PARENT, $1, $3, $4,
}
}
-void set_parenttag(char* tag)
+void set_parenttag(const char* tag)
{
strncpy(tag_stack[count_level+1], tag, MAXSTDTAGLEN+1);
}
}
}
-int gedcom_debug_print(char* s, ...)
+int gedcom_debug_print(const char* s, ...)
{
int res = 0;
if (gedcom_high_level_debug) {