diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-06-13 18:38:33 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-06-13 18:38:33 +0100 |
commit | fdf2867e5f08809ff3fccc78fb6df13a196e3efc (patch) | |
tree | a52def21ef686d6f4759afc778088a80a659a4cd /Src/zsh.h | |
parent | e36e7d9adea7b8eab8f561e180f78b9f8e4eee5c (diff) | |
download | zsh-fdf2867e5f08809ff3fccc78fb6df13a196e3efc.tar.gz zsh-fdf2867e5f08809ff3fccc78fb6df13a196e3efc.tar.xz zsh-fdf2867e5f08809ff3fccc78fb6df13a196e3efc.zip |
31444: Basic code for enable/disable -p
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index 639c2b746..299357de8 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1414,6 +1414,21 @@ enum zpc_chars { }; /* + * Structure to save disables special characters for function scope. + */ +struct zpc_disables_save { + struct zpc_disables_save *next; + /* + * Bit vector of ZPC_COUNT disabled characters. + * We'll live dangerously and assumed ZPC_COUNT is no greater + * than the number of bits an an unsigned int. + */ + unsigned int disables; +}; + +typedef struct zpc_disables_save *Zpc_disables_save; + +/* * Special match types used in character classes. These * are represented as tokens, with Meta added. The character * class is represented as a metafied string, with only these @@ -2074,6 +2089,7 @@ enum { LISTROWSFIRST, LISTTYPES, LOCALOPTIONS, + LOCALPATTERNS, LOCALTRAPS, LOGINSHELL, LONGLISTJOBS, |