diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2015-09-11 21:51:49 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2015-09-11 21:51:49 +0200 |
commit | 7534dfa8848251305ad2914c338f232050f6a500 (patch) | |
tree | e693cdc8e3eaa157574c10de89a94a3547faa78e /Src/zsh.h | |
parent | 63deeaba7e4ae09b81d933985152c4240ae08d25 (diff) | |
parent | 68405f31a043bdd5bf338eb06688ed3e1f740937 (diff) | |
download | zsh-7534dfa8848251305ad2914c338f232050f6a500.tar.gz zsh-7534dfa8848251305ad2914c338f232050f6a500.zip |
Merge tag 'zsh-5.1.1' into debian
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -1562,13 +1562,15 @@ typedef struct zpc_disables_save *Zpc_disables_save; #define PP_IFS 15 #define PP_IFSSPACE 16 #define PP_WORD 17 +#define PP_INCOMPLETE 18 +#define PP_INVALID 19 /* Special value for last definition */ -#define PP_LAST 17 +#define PP_LAST 19 /* Unknown type. Not used in a valid token. */ -#define PP_UNKWN 18 +#define PP_UNKWN 20 /* Range: token followed by the (possibly multibyte) start and end */ -#define PP_RANGE 19 +#define PP_RANGE 21 /* Globbing flags: lower 8 bits gives approx count */ #define GF_LCMATCHUC 0x0100 @@ -1577,6 +1579,15 @@ typedef struct zpc_disables_save *Zpc_disables_save; #define GF_MATCHREF 0x0800 #define GF_MULTIBYTE 0x1000 /* Use multibyte if supported by build */ +enum { + /* Valid multibyte character from charref */ + ZMB_VALID, + /* Incomplete multibyte character from charref */ + ZMB_INCOMPLETE, + /* Invalid multibyte character charref */ + ZMB_INVALID +}; + /* Dummy Patprog pointers. Used mainly in executable code, but the * pattern code needs to know about it, too. */ |