aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/gap.pl2
-rw-r--r--iconvdata/gaptab.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/gap.pl b/iconvdata/gap.pl
index 01ee9b2..ed2d295 100644
--- a/iconvdata/gap.pl
+++ b/iconvdata/gap.pl
@@ -1,6 +1,6 @@
$first=$last=$idx=0;
while (<>) {
- local($ucs,%rest) = split;
+ local($ucs,$rest) = split;
local($u)=hex($ucs);
if ($u - $last > 6) {
if ($last != 0) {
diff --git a/iconvdata/gaptab.pl b/iconvdata/gaptab.pl
index 34eb2f9..77df1c3 100644
--- a/iconvdata/gaptab.pl
+++ b/iconvdata/gaptab.pl
@@ -6,7 +6,7 @@ sub fmt {
printf (" '\\x%02x',", $val);
}
while (<>) {
- local($ucs,$char,%rest) = split;
+ local($ucs,$char,$rest) = split;
local($u)=hex($ucs);
local($c)=hex($char);
if ($u - $last > 6) {