about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-06-01 10:45:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-06-01 10:45:32 +0000
commit772007e76c430588b0b0a234e4db90e5ad50293d (patch)
tree2cab428a1c72d496435e885a9b6a889e4516c529 /Src/zsh.h
parent9f63db611a8ee2becff902949398447fd55dfccc (diff)
downloadzsh-772007e76c430588b0b0a234e4db90e5ad50293d.tar.gz
zsh-772007e76c430588b0b0a234e4db90e5ad50293d.tar.xz
zsh-772007e76c430588b0b0a234e4db90e5ad50293d.zip
21296: Add ERR alias for ZERR where possible.
"trap" reports alias names.
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 6e1916690..3dacf637f 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1852,7 +1852,8 @@ struct heap {
 /* Mask to get the above flags */
 #define ZSIG_MASK	(ZSIG_TRAPPED|ZSIG_IGNORED|ZSIG_FUNC)
 /* No. of bits to shift local level when storing in sigtrapped */
-#define ZSIG_SHIFT	3
+#define ZSIG_ALIAS	(1<<3)  /* Trap is stored under an alias */
+#define ZSIG_SHIFT	4
 
 /**********************************/
 /* Flags to third argument of zle */