diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-04-09 21:47:21 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-04-09 21:47:21 +0000 |
commit | ef330a5dfddc763b83fe2406a91c61519279de68 (patch) | |
tree | a443ed27b17283591c3bd51e2938659ac03f6687 /Src/Zle/zle.h | |
parent | 82dc72e03462d2f0ebae2f6f4794fbb941cb3c8c (diff) | |
download | zsh-ef330a5dfddc763b83fe2406a91c61519279de68.tar.gz zsh-ef330a5dfddc763b83fe2406a91c61519279de68.tar.xz zsh-ef330a5dfddc763b83fe2406a91c61519279de68.zip |
22408: support for multibyte characters in patterns
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r-- | Src/Zle/zle.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h index 7e08a8ad9..3671f90f3 100644 --- a/Src/Zle/zle.h +++ b/Src/Zle/zle.h @@ -33,20 +33,6 @@ typedef wchar_t *ZLE_STRING_T; typedef wint_t ZLE_INT_T; #define ZLE_CHAR_SIZE sizeof(wchar_t) -/* - * MB_CUR_MAX is the maximum number of bytes that a single wide - * character will convert into. We use it to keep strings - * sufficiently long. It should always be defined, but if it isn't - * just assume we are using Unicode which requires 6 characters. - * (Note that it's not necessarily defined to a constant.) - */ -#ifndef MB_CUR_MAX -#define MB_CUR_MAX 6 -#endif - -/* Convert character or string to wide character or string */ -#define ZWC(c) L ## c -#define ZWS(s) L ## s #define ZLEEOF WEOF @@ -96,10 +82,6 @@ typedef char *ZLE_STRING_T; typedef int ZLE_INT_T; #define ZLE_CHAR_SIZE sizeof(ZLE_CHAR_T) -/* Leave character or string as is. */ -#define ZWC(c) c -#define ZWS(s) s - #define ZLEEOF EOF /* Functions that operate on a ZLE_STRING_T. */ |