summaryrefslogtreecommitdiff
path: root/extra/locale
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-06-17 18:31:23 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-06-17 18:31:23 +0000
commit0b5bd76080140bbab6a183d5fde475765846ee3b (patch)
treeb89fd81fc30b0f40687626945f8da0712c1eeaee /extra/locale
parent1352bcc3f66872424b4b83911dda843dddf3af5f (diff)
Ok... pasting in DUMPn() is unnecessary and technically incorrect.
Diffstat (limited to 'extra/locale')
-rw-r--r--extra/locale/gen_collate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/locale/gen_collate.c b/extra/locale/gen_collate.c
index 9121345bc..51b6b7383 100644
--- a/extra/locale/gen_collate.c
+++ b/extra/locale/gen_collate.c
@@ -3766,7 +3766,7 @@ static unsigned int add_range_rule(range_item_t *ri)
return (ruletable_len / MAX_COLLATION_WEIGHTS)-1;
}
-#define DUMPn(X) fprintf(stderr, "%10d-%-.20s", base_locale_array[n]. ## X, #X);
+#define DUMPn(X) fprintf(stderr, "%10d-%-.20s", base_locale_array[n]. X, #X);
static void dump_base_locale(int n)
{
@@ -3802,7 +3802,7 @@ static void dump_base_locale(int n)
}
#undef DUMPn
-#define DUMPn(X) fprintf(stderr, "%10d-%s", der_locale_array[n]. ## X, #X);
+#define DUMPn(X) fprintf(stderr, "%10d-%s", der_locale_array[n]. X, #X);
static void dump_der_locale(int n)
{
@@ -3859,7 +3859,7 @@ static void dump_collate(FILE *fp)
OUT_U16C(ruletable_len, "number of ruletable elements");
#undef DUMPn
-#define DUMPn(X) fprintf(fp, "\t%10d, /* %8lu %s */\n", base_locale_array[n]. ## X, collate_pos++, #X);
+#define DUMPn(X) fprintf(fp, "\t%10d, /* %8lu %s */\n", base_locale_array[n]. X, collate_pos++, #X);
for (n=0 ; n < base_locale_len ; n++) {
unsigned wcs2colidt_offset_low = base_locale_array[n].wcs2colidt_offset & 0xffffU;
unsigned wcs2colidt_offset_hi = base_locale_array[n].wcs2colidt_offset >> 16;
@@ -3890,7 +3890,7 @@ static void dump_collate(FILE *fp)
fprintf(fp, "#define COL_IDX_C %5d\n", 0);
-#define DUMPn(X) fprintf(fp, "\t%10d, /* %8lu %s */\n", der_locale_array[n]. ## X, collate_pos++, #X);
+#define DUMPn(X) fprintf(fp, "\t%10d, /* %8lu %s */\n", der_locale_array[n]. X, collate_pos++, #X);
for (n=0 ; n < der_locale_len ; n++) {
fprintf(fp, "#define COL_IDX_%s %5d\n", der_locale_array[n].name, n+1);
fprintf(fp, "\t/* Derived Locale %4d: %s (%.12s) */\n",