diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-07-24 22:00:19 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-07-24 22:00:19 +0000 |
commit | 50e9ab122b5022d8e90facb6ca01b32996ea16d1 (patch) | |
tree | 0bf441f7d4a77ac25fbe8ddcf8087f8526d72955 /Src/ztype.h | |
parent | 6ca7b6abdf90d68c64bd57ac07d8a52ac6dc075b (diff) | |
download | zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.tar.gz zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.tar.xz zsh-50e9ab122b5022d8e90facb6ca01b32996ea16d1.zip |
22556: Multibyte separators and delimiters
Diffstat (limited to 'Src/ztype.h')
-rw-r--r-- | Src/ztype.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/ztype.h b/Src/ztype.h index 7b7973602..7aa56b073 100644 --- a/Src/ztype.h +++ b/Src/ztype.h @@ -59,6 +59,12 @@ #define iwsep(X) zistype(X,IWSEP) #define inull(X) zistype(X,INULL) +#ifdef MULTIBYTE_SUPPORT +#define MB_ZISTYPE(X,Y) wcsitype((X),(Y)) +#else +#define MB_ZISTYPE(X,Y) zistype((X),(Y)) +#endif + #define iascii(X) isascii(STOUC(X)) #define ilower(X) islower(STOUC(X)) #define iprint(X) isprint(STOUC(X)) |