about summary refs log tree commit diff
path: root/iconvdata
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/gap.awk4
-rw-r--r--iconvdata/gen-8bit-gap-1.sh2
-rw-r--r--iconvdata/gen-8bit-gap.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/iconvdata/gap.awk b/iconvdata/gap.awk
index 583d22bed9..6c5ef51a04 100644
--- a/iconvdata/gap.awk
+++ b/iconvdata/gap.awk
@@ -26,7 +26,7 @@ function tonum(str)
     {
       if (last)
 	{
-	  printf ("  { start: 0x%04x, end: 0x%04x, idx: %5d },\n",
+	  printf ("  { .start = 0x%04x, .end = 0x%04x, .idx = %5d },\n",
 		  first, last, idx);
 	  idx -= u - last - 1;
 	}
@@ -35,5 +35,5 @@ function tonum(str)
   last = u;
 }
 
-END { printf ("  { start: 0x%04x, end: 0x%04x, idx: %5d },\n",
+END { printf ("  { .start = 0x%04x, .end = 0x%04x, .idx = %5d },\n",
 	      first, last, idx); }
diff --git a/iconvdata/gen-8bit-gap-1.sh b/iconvdata/gen-8bit-gap-1.sh
index aeb6069e50..7b8baeb871 100644
--- a/iconvdata/gen-8bit-gap-1.sh
+++ b/iconvdata/gen-8bit-gap-1.sh
@@ -7,7 +7,7 @@ echo "};"
 echo "static const struct gap from_idx[] = {"
 sed -ne 's/^<U\(....\)>[[:space:]]*.x[A-Fa-f]..*/\1/p' \
     "$@" | sort -u | $AWK -f gap.awk
-echo "  { start: 0xffff, end: 0xffff, idx:     0 }"
+echo "  { .start = 0xffff, .end = 0xffff, .idx =     0 }"
 echo "};"
 echo "static const char iso88597_from_ucs4[] = {"
 sed -ne 's/^<U\(....\)>[[:space:]]*.x\([A-Fa-f].\).*/0x\1 0x\2/p' \
diff --git a/iconvdata/gen-8bit-gap.sh b/iconvdata/gen-8bit-gap.sh
index ce14c0be01..d0b59d320c 100644
--- a/iconvdata/gen-8bit-gap.sh
+++ b/iconvdata/gen-8bit-gap.sh
@@ -7,7 +7,7 @@ echo "};"
 echo "static const struct gap from_idx[] = {"
 sed -ne 's/^<U\(....\).*/\1/p' \
     "$@" | sort -u | $AWK -f gap.awk
-echo "  { start: 0xffff, end: 0xffff, idx:     0 }"
+echo "  { .start = 0xffff, .end = 0xffff, .idx =     0 }"
 echo "};"
 echo "static const char from_ucs4[] = {"
 sed -ne 's/^<U\(....\)>[[:space:]]*.x\(..\).*/\1 \2/p' \