Provide warning on data loss.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 8 Sep 2002 19:10:10 +0000 (19:10 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 8 Sep 2002 19:10:10 +0000 (19:10 +0000)
gedcom/gedcom.y

index 44613d991e52eb560bbcec9a6176e68f8a1fb35f..3d5243a90c068fd68a39235adf3479db1b6e878b 100644 (file)
@@ -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 */