Add swidth definitions and lex code to mklocale
After adding swidth support in iswctype.c and ctype.h Submitted by: clkao@clkao.org Reviewed by: keichii,ache Obtained from: NetBSD MFC after: 1 month
This commit is contained in:
parent
dff784192b
commit
ff9c912816
@ -118,6 +118,10 @@ SPECIAL { yylval.i = _CTYPE_T|_CTYPE_R|_CTYPE_G;
|
||||
return(LIST); }
|
||||
PHONOGRAM { yylval.i = _CTYPE_Q|_CTYPE_R|_CTYPE_G;
|
||||
return(LIST); }
|
||||
SWIDTH0 { yylval.i = _CTYPE_SW0; return(LIST); }
|
||||
SWIDTH1 { yylval.i = _CTYPE_SW1; return(LIST); }
|
||||
SWIDTH2 { yylval.i = _CTYPE_SW2; return(LIST); }
|
||||
SWIDTH3 { yylval.i = _CTYPE_SW3; return(LIST); }
|
||||
|
||||
VARIABLE[\t ] { static char vbuf[1024];
|
||||
char *v = vbuf;
|
||||
|
Loading…
Reference in New Issue
Block a user