From: Peter Verthez Date: Sun, 8 Sep 2002 19:10:10 +0000 (+0000) Subject: Provide warning on data loss. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=e2d8301467fed378f3ab1eca1eeedadfdfd08cf4;p=gedcom-parse.git Provide warning on data loss. --- diff --git a/gedcom/gedcom.y b/gedcom/gedcom.y index 44613d9..3d5243a 100644 --- a/gedcom/gedcom.y +++ b/gedcom/gedcom.y @@ -664,9 +664,9 @@ head_date_time_sect : OPEN DELIM TAG_TIME mand_line_item /* 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 */