summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-07-09 14:47:22 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-07-09 14:47:22 +0000
commit9d5f320f386701f9dec3d57a3326700563f87c23 (patch)
tree72de961a2e7ff51a5399a463d11287d182ccd2b5 /Src/zsh.h
parent59bbc0cfc53ce5871252c1541a087509bde89fdf (diff)
downloadzsh-9d5f320f386701f9dec3d57a3326700563f87c23.tar.gz
zsh-9d5f320f386701f9dec3d57a3326700563f87c23.tar.xz
zsh-9d5f320f386701f9dec3d57a3326700563f87c23.zip
22542: deoverenthuse cmdpopping
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index b0962574a..8554b5c96 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1768,20 +1768,6 @@ struct ttyinfo {
 /****************************************/
 
 #define CMDSTACKSZ 256
-#define cmdpush(X) do { \
-                       if (cmdsp >= 0 && cmdsp < CMDSTACKSZ) \
-                           cmdstack[cmdsp++]=(X); \
-                   } while (0)
-#ifdef DEBUG
-# define cmdpop()  do { \
-                       if (cmdsp <= 0) { \
-			   fputs("BUG: cmdstack empty\n", stderr); \
-			   fflush(stderr); \
-		       } else cmdsp--; \
-                   } while (0)
-#else
-# define cmdpop()   do { if (cmdsp > 0) cmdsp--; } while (0)
-#endif
 
 #define CS_FOR          0
 #define CS_WHILE        1