make all the commands agnostic about Rune width. (from sources)
This commit is contained in:
parent
78c7ba36a1
commit
667010554b
13 changed files with 99 additions and 137 deletions
|
@ -275,7 +275,7 @@ re2class(char *s)
|
|||
x = re2or(x, rclass(ov, p[0]-1));
|
||||
ov = p[1]+1;
|
||||
}
|
||||
x = re2or(x, rclass(ov, 0xffff));
|
||||
x = re2or(x, rclass(ov, Runemask));
|
||||
} else {
|
||||
x = rclass(p[0], p[1]);
|
||||
for(p+=2; *p; p+=2)
|
||||
|
|
|
@ -53,7 +53,7 @@ enum
|
|||
|
||||
Caselim = 7,
|
||||
Nhunk = 1<<16,
|
||||
Cbegin = 0x10000,
|
||||
Cbegin = Runemax+1,
|
||||
Flshcnt = (1<<9)-1,
|
||||
|
||||
Cflag = 1<<0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue