parent
bc3777792d
commit
5834a4b938
|
@ -4397,10 +4397,8 @@ static unsigned char *add_byte_range(const unsigned char *lo, const unsigned cha
|
||||||
/* Fill out [nxxxx, p0000) */
|
/* Fill out [nxxxx, p0000) */
|
||||||
if (p > lo[same_chars]) {
|
if (p > lo[same_chars]) {
|
||||||
r = make_room(r, j, 2, rs);
|
r = make_room(r, j, 2, rs);
|
||||||
if (!did_alt) {
|
if (!did_alt)
|
||||||
r[j++] = '|';
|
r[j++] = '|';
|
||||||
did_alt = 1;
|
|
||||||
}
|
|
||||||
r[j++] = lo[same_chars];
|
r[j++] = lo[same_chars];
|
||||||
*_j = j;
|
*_j = j;
|
||||||
r = add_byte_range(lo XFORM_OK_PLUS same_chars + 1, highest, count - same_chars - 1,
|
r = add_byte_range(lo XFORM_OK_PLUS same_chars + 1, highest, count - same_chars - 1,
|
||||||
|
@ -4409,14 +4407,12 @@ static unsigned char *add_byte_range(const unsigned char *lo, const unsigned cha
|
||||||
p = lo[same_chars] + 1;
|
p = lo[same_chars] + 1;
|
||||||
did_alt = 0;
|
did_alt = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fill out [m0000, mxxxx] */
|
/* Fill out [m0000, mxxxx] */
|
||||||
if (q < hi[same_chars]) {
|
if (q < hi[same_chars]) {
|
||||||
r = make_room(r, j, 2, rs);
|
r = make_room(r, j, 2, rs);
|
||||||
if (!did_alt) {
|
if (!did_alt)
|
||||||
r[j++] = '|';
|
r[j++] = '|';
|
||||||
did_alt = 1;
|
|
||||||
}
|
|
||||||
r[j++] = hi[same_chars];
|
r[j++] = hi[same_chars];
|
||||||
*_j = j;
|
*_j = j;
|
||||||
r = add_byte_range(lowest, hi XFORM_OK_PLUS same_chars + 1, count - same_chars - 1,
|
r = add_byte_range(lowest, hi XFORM_OK_PLUS same_chars + 1, count - same_chars - 1,
|
||||||
|
@ -4426,7 +4422,7 @@ static unsigned char *add_byte_range(const unsigned char *lo, const unsigned cha
|
||||||
|
|
||||||
q = hi[same_chars] - 1;
|
q = hi[same_chars] - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fill out [p0000,m0000) */
|
/* Fill out [p0000,m0000) */
|
||||||
if (p <= q) {
|
if (p <= q) {
|
||||||
/* Make the alternative that lets the initial digit vary,
|
/* Make the alternative that lets the initial digit vary,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user