diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-07-09 14:47:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-07-09 14:47:22 +0000 |
commit | 9d5f320f386701f9dec3d57a3326700563f87c23 (patch) | |
tree | 72de961a2e7ff51a5399a463d11287d182ccd2b5 /Src/zsh.h | |
parent | 59bbc0cfc53ce5871252c1541a087509bde89fdf (diff) | |
download | zsh-9d5f320f386701f9dec3d57a3326700563f87c23.tar.gz zsh-9d5f320f386701f9dec3d57a3326700563f87c23.tar.xz zsh-9d5f320f386701f9dec3d57a3326700563f87c23.zip |
22542: deoverenthuse cmdpopping
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 14 |
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 |