From 84892692fdedb753cfdd9a63b318b47ec640915f Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 13 Mar 2017 19:04:45 +0200 Subject: Remove obsolete references to JIS0201.TXT JIS0208.TXT. We don't use those files anymore, since commit 1de9cc0dcc. --- src/backend/utils/mb/Unicode/convutils.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/backend/utils/mb/Unicode/convutils.pm') diff --git a/src/backend/utils/mb/Unicode/convutils.pm b/src/backend/utils/mb/Unicode/convutils.pm index 0ae79a2f331..eb3c602c32d 100644 --- a/src/backend/utils/mb/Unicode/convutils.pm +++ b/src/backend/utils/mb/Unicode/convutils.pm @@ -57,8 +57,11 @@ sub read_source next if (/^0x([0-9A-F]+)\s+(#.*)$/); - # Skip the first column for JIS0208.TXT - if (!/^0x([0-9A-Fa-f]+)\s+0x([0-9A-Fa-f]+)\s+(?:0x([0-9A-Fa-f]+)\s+)?(#.*)$/) + # The Unicode source files have three columns + # 1: The "foreign" code (in hex) + # 2: Unicode code point (in hex) + # 3: Unicode name + if (!/^0x([0-9A-Fa-f]+)\s+0x([0-9A-Fa-f]+)\s+(#.*)$/) { print STDERR "READ ERROR at line $. in $fname: $_\n"; exit; -- cgit v1.2.3