From ff9c912816757503494a5d9540ba56c2525b725b Mon Sep 17 00:00:00 2001 From: "Michael C . Wu" Date: Fri, 16 Aug 2002 13:46:43 +0000 Subject: [PATCH] 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 --- usr.bin/mklocale/lex.l | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr.bin/mklocale/lex.l b/usr.bin/mklocale/lex.l index 11ce80aa7545..eeed535db2c6 100644 --- a/usr.bin/mklocale/lex.l +++ b/usr.bin/mklocale/lex.l @@ -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;