aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMichael C . Wu <keichii@FreeBSD.org>2002-08-16 13:46:43 +0000
committerMichael C . Wu <keichii@FreeBSD.org>2002-08-16 13:46:43 +0000
commitff9c912816757503494a5d9540ba56c2525b725b (patch)
tree525b42ce790d992de4f7e5344e67d651ed1c6317 /usr.bin
parentdff784192b0831d896cb05d9693f8e3d403703c7 (diff)
downloadsrc-ff9c912816757503494a5d9540ba56c2525b725b.tar.gz
src-ff9c912816757503494a5d9540ba56c2525b725b.zip
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
Notes
Notes: svn path=/head/; revision=101986
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mklocale/lex.l4
1 files changed, 4 insertions, 0 deletions
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;