Lines 789-798
p_b_term(struct parse *p, cset *cs)
Link Here
|
789 |
(void)REQUIRE((uch)start <= (uch)finish, REG_ERANGE); |
789 |
(void)REQUIRE((uch)start <= (uch)finish, REG_ERANGE); |
790 |
CHaddrange(p, cs, start, finish); |
790 |
CHaddrange(p, cs, start, finish); |
791 |
} else { |
791 |
} else { |
792 |
(void)REQUIRE(__collate_range_cmp(table, start, finish) <= 0, REG_ERANGE); |
792 |
(void)REQUIRE(__wcollate_range_cmp(table, start, finish) <= 0, REG_ERANGE); |
793 |
for (i = 0; i <= UCHAR_MAX; i++) { |
793 |
for (i = 0; i <= UCHAR_MAX; i++) { |
794 |
if ( __collate_range_cmp(table, start, i) <= 0 |
794 |
if ( __wcollate_range_cmp(table, start, i) <= 0 |
795 |
&& __collate_range_cmp(table, i, finish) <= 0 |
795 |
&& __wcollate_range_cmp(table, i, finish) <= 0 |
796 |
) |
796 |
) |
797 |
CHadd(p, cs, i); |
797 |
CHadd(p, cs, i); |
798 |
} |
798 |
} |