|
@@ -339,7 +339,6 @@ static section_t *new_section(const char *name)
|
|
|
snprintf(buf, sizeof(buf), "%s %05d", cur_col->name, anonsection);
|
|
|
++anonsection;
|
|
|
}
|
|
|
-#warning devel code
|
|
|
|
|
|
p->name = xsymdup(name);
|
|
|
p->itm_list = NULL;
|
|
@@ -350,7 +349,6 @@ static section_t *new_section(const char *name)
|
|
|
|
|
|
|
|
|
|
|
|
-#warning devel code
|
|
|
if (*p->name == 'a') {
|
|
|
cur_num_weights = p->num_rules = 4;
|
|
|
memset(p->rules, R_FORWARD, 4);
|
|
@@ -725,7 +723,6 @@ static void processfile(void)
|
|
|
const keyword_table_t *k;
|
|
|
|
|
|
order_state = 0;
|
|
|
-#warning devel code
|
|
|
|
|
|
|
|
|
|
|
@@ -1289,7 +1286,6 @@ static int old_main(int argc, char **argv)
|
|
|
override_len, multistart_len, weightstr_len,
|
|
|
wcs2colidt_len, index2weight_len, index2ruleidx_len,
|
|
|
ruletable_len,
|
|
|
-#warning mult by 2 for rule indecies
|
|
|
(override_len + multistart_len + weightstr_len
|
|
|
+ wcs2colidt_len + index2weight_len + index2ruleidx_len + ruletable_len) * 2,
|
|
|
(override_len + multistart_len + weightstr_len
|
|
@@ -1515,7 +1511,6 @@ static void do_copy(void)
|
|
|
++s;
|
|
|
if (cur_base && !strcmp(cur_base->name,s)) {
|
|
|
|
|
|
-#warning need to update last in order and position or check
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -1601,7 +1596,6 @@ static ll_item_t *find_section_list_item(const char *name, col_locale_t *loc)
|
|
|
p = loc->section_list;
|
|
|
|
|
|
while (p) {
|
|
|
-#warning devel code
|
|
|
|
|
|
|
|
|
|
|
@@ -1744,7 +1738,6 @@ static void add_colitem(char *item, char *def)
|
|
|
|
|
|
p = new_colitem(item, def);
|
|
|
|
|
|
-#warning devel code
|
|
|
if (superset) {
|
|
|
if (tfind(p, &cur_base->root_colitem, colitem_cmp)) {
|
|
|
|
|
@@ -1865,7 +1858,6 @@ static void do_order_start(void)
|
|
|
cur_section = sect;
|
|
|
|
|
|
|
|
|
-#warning need to add section to weight list?
|
|
|
|
|
|
|
|
|
do {
|
|
@@ -1945,7 +1937,6 @@ static void do_reorder_after(void)
|
|
|
error_msg("currently reorder_after is not supported in supersets");
|
|
|
}
|
|
|
|
|
|
-#warning have to use rule for current section!!!
|
|
|
|
|
|
if (!(t = next_token())) {
|
|
|
error_msg("missing arg for reorder_after");
|
|
@@ -1996,10 +1987,8 @@ static void do_reorder_after(void)
|
|
|
memcpy(cur_section->rules, save_cur_rule, MAX_COLLATION_WEIGHTS);
|
|
|
|
|
|
|
|
|
-#warning devel code
|
|
|
|
|
|
|
|
|
-#warning hack to get around hu_HU reorder-after problem
|
|
|
|
|
|
|
|
|
|
|
@@ -2406,7 +2395,6 @@ static ll_item_t *init_comm_ptr(void)
|
|
|
comm_cur_ptr = comm_cur_ptr->next;
|
|
|
}
|
|
|
|
|
|
-#warning devel code
|
|
|
|
|
|
|
|
|
|
|
@@ -2672,7 +2660,6 @@ static void finalize_base(void)
|
|
|
base_locale_array[base_locale_len].index2weight_offset = index2weight_len;
|
|
|
base_locale_array[base_locale_len].index2ruleidx_offset = index2ruleidx_len;
|
|
|
if (!strcmp(cur_base->name,"ja_JP") || !strcmp(cur_base->name,"ko_KR")) {
|
|
|
-#warning fix the index2weight check!!
|
|
|
index2weight_len_inc = 0;
|
|
|
}
|
|
|
|
|
@@ -2709,14 +2696,12 @@ static void finalize_base(void)
|
|
|
if (lli->data_type & DT_RANGE) {
|
|
|
i += mr;
|
|
|
mr = 0;
|
|
|
-#warning check ko_kR and 9
|
|
|
|
|
|
lli->idx = i;
|
|
|
assert(!rli);
|
|
|
rli = lli;
|
|
|
verbose_msg(VDETAIL, "range pre = %d after = ", i);
|
|
|
i += ((range_item_t *)(lli->data))->length + 1;
|
|
|
-#warning check ko_kR and 9
|
|
|
|
|
|
verbose_msg(VDETAIL, "%d\n", i);
|
|
|
if (!index2weight_len_inc) {
|
|
@@ -2740,7 +2725,6 @@ static void finalize_base(void)
|
|
|
} else {
|
|
|
assert(lli->data_type & DT_REORDER);
|
|
|
r = ll_len( ((section_t *)(lli->data))->itm_list );
|
|
|
-#warning check ko_kR and 9
|
|
|
if (r > mr) {
|
|
|
mr = r;
|
|
|
}
|
|
@@ -2762,7 +2746,6 @@ static void finalize_base(void)
|
|
|
i += mr;
|
|
|
mr = 0;
|
|
|
i = lli->idx + ((range_item_t *)(lli->data))->length + 1;
|
|
|
-#warning check
|
|
|
} else if ((lli->data_type & DT_WEIGHTED) && !(s->data_type & DT_REORDER)) {
|
|
|
i += mr;
|
|
|
mr = 0;
|
|
@@ -3247,7 +3230,6 @@ static void finalize_base(void)
|
|
|
|
|
|
#endif
|
|
|
|
|
|
-#warning handle UNDEFINED idx specially? what if in only some of derived?
|
|
|
|
|
|
base_locale_array[base_locale_len].undefined_idx = 0;
|
|
|
|