make all the commands agnostic about Rune width. (from sources)

This commit is contained in:
cinap_lenrek 2013-04-24 20:13:18 +02:00
parent 78c7ba36a1
commit 667010554b
13 changed files with 99 additions and 137 deletions

View file

@ -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)

View file

@ -53,7 +53,7 @@ enum
Caselim = 7,
Nhunk = 1<<16,
Cbegin = 0x10000,
Cbegin = Runemax+1,
Flshcnt = (1<<9)-1,
Cflag = 1<<0,