diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-20 15:10:26 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-20 15:10:26 +0000 |
commit | 409296e22fb1cef515ccfff507c265a5fee0ab28 (patch) | |
tree | 7f15b9e7e175dd6302bf4c434886b263ceac84d8 /Src/Zle/zle.h | |
parent | ce43e4a22c250fbaee14580b167986615455f78f (diff) | |
download | zsh-409296e22fb1cef515ccfff507c265a5fee0ab28.tar.gz zsh-409296e22fb1cef515ccfff507c265a5fee0ab28.tar.xz zsh-409296e22fb1cef515ccfff507c265a5fee0ab28.zip |
21736: improve tests for word and identifier characters with multibyte input
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r-- | Src/Zle/zle.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h index 4b3f3f75a..fbfc02265 100644 --- a/Src/Zle/zle.h +++ b/Src/Zle/zle.h @@ -66,12 +66,7 @@ typedef wint_t ZLE_INT_T; #define ZC_iblank iswspace #define ZC_icntrl iswcntrl -/* - * TODO: doesn't work on arguments with side effects. - * Also YUK. Not even sure this is guaranteed to work. - * Should be easy to do along the lines of wcsiword. - */ -#define ZC_iident(x) (x < 256 && iident((int)x)) +#define ZC_iident wcsiident #define ZC_tolower towlower #define ZC_toupper towupper |