From: Peter Verthez Date: Wed, 22 Jan 2003 20:26:29 +0000 (+0000) Subject: Cleanup of error handling on dates. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=999c58c51c0a26d2e3be5d7b41bde8be117678bc;p=gedcom-parse.git Cleanup of error handling on dates. --- diff --git a/t/output/dates.ref b/t/output/dates.ref index 89ed05a..a7f6d1d 100644 --- a/t/output/dates.ref +++ b/t/output/dates.ref @@ -152,8 +152,9 @@ Contents of the date_value: Rec INDI start, xref is @PERS06@ == 1 NAME (342) /Unexpected calendar type/ (ctxt is 333, conversion failures: 0) == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) -ERROR: Error on line 37: Unknown calendar type -ERROR: Error on line 37: parse error +WARNING: Warning on line 37: Unknown calendar type +WARNING: Warning on line 37: parse error +WARNING: Warning on line 37: Putting date in 'phrase' member Contents of the date_value: raw value: @#DFRENCH@ 03 BRUM 4 type: 11 @@ -433,8 +434,9 @@ Contents of the date_value: Rec INDI start, xref is @PERS06@ == 1 NAME (342) /Unexpected calendar type/ (ctxt is 333, conversion failures: 0) == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0) -ERROR: Error on line 37: Unknown calendar type -ERROR: Error on line 37: parse error +WARNING: Warning on line 37: Unknown calendar type +WARNING: Warning on line 37: parse error +WARNING: Warning on line 37: Putting date in 'phrase' member Contents of the date_value: raw value: @#DFRENCH@ 03 BRUM 4 type: 11 diff --git a/t/output/dates_gom.ref b/t/output/dates_gom.ref index 1e3c0e5..73cbbf8 100644 --- a/t/output/dates_gom.ref +++ b/t/output/dates_gom.ref @@ -1,7 +1,8 @@ === Parsing file dates.ged -Error on line 37: Unknown calendar type -Error on line 37: parse error +Warning on line 37: Unknown calendar type +Warning on line 37: parse error +Warning on line 37: Putting date in 'phrase' member Warning: Cross-reference @PERS07@ defined on line 38 is never used Warning: Cross-reference @PERS02@ defined on line 18 is never used Warning: Cross-reference @PERS00@ defined on line 10 is never used diff --git a/t/output/write_gom_dates.ref b/t/output/write_gom_dates.ref index 448360c..6ed6a31 100644 --- a/t/output/write_gom_dates.ref +++ b/t/output/write_gom_dates.ref @@ -1,5 +1,6 @@ -ERROR: Error on line 37: Unknown calendar type -ERROR: Error on line 37: parse error +WARNING: Warning on line 37: Unknown calendar type +WARNING: Warning on line 37: parse error +WARNING: Warning on line 37: Putting date in 'phrase' member WARNING: Warning: Cross-reference @PERS07@ defined on line 38 is never used WARNING: Warning: Cross-reference @PERS02@ defined on line 18 is never used WARNING: Warning: Cross-reference @PERS00@ defined on line 10 is never used