From fbb86edbf0756a696b07f421d015baf4d003f8aa Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Mon, 6 Sep 2004 13:54:21 +0000 Subject: [PATCH] return error if IDS data file is irregular. --- inCHISE | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inCHISE b/inCHISE index fa742c9..67726bc 100755 --- a/inCHISE +++ b/inCHISE @@ -132,6 +132,8 @@ if(-e $idsdata_file){ $font_start=$1,$ids_start=$2; }elsif(m/^(.*?)\t(\d+)\t(\d+)/){ $ids{$1}=[$2,$3,]; + }else{ + die "Irregular IDS file: $idsdata_file.\n"; } } seek(IDSDATA,0,0); -- 1.7.10.4