about summary refs log tree commit diff
path: root/Doc/Zsh/grammar.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-06-22 16:37:59 +0100
committerPeter Stephenson <pws@zsh.org>2015-06-22 16:37:59 +0100
commit5c513aa33f136aebfdb1cb4f25ea18b7cc750f22 (patch)
tree55f0367e11f2cd97f7786ff4192015d321d7841d /Doc/Zsh/grammar.yo
parentdcb000e53a04c608cbfea4c6b7977d2f6b8fe823 (diff)
downloadzsh-5c513aa33f136aebfdb1cb4f25ea18b7cc750f22.tar.gz
zsh-5c513aa33f136aebfdb1cb4f25ea18b7cc750f22.tar.xz
zsh-5c513aa33f136aebfdb1cb4f25ea18b7cc750f22.zip
Documentation for new typeset parsing.
Don't need KSH_TYPESET even in emulation.

integer and float should be parsed the same way in case of
arguments that will be evaluated as expressions.
Diffstat (limited to 'Doc/Zsh/grammar.yo')
-rw-r--r--Doc/Zsh/grammar.yo3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index 4476fc392..83968fedf 100644
--- a/Doc/Zsh/grammar.yo
+++ b/Doc/Zsh/grammar.yo
@@ -472,7 +472,8 @@ word of a command unless quoted or disabled using tt(disable -r):
 
 tt(do done esac then elif else fi for case
 if while function repeat time until
-select coproc nocorrect foreach end ! [[ { })
+select coproc nocorrect foreach end ! [[ { }
+declare export float integer local readonly typeset)
 
 Additionally, `tt(})' is recognized in any position if neither the
 tt(IGNORE_BRACES) option nor the tt(IGNORE_CLOSE_BRACES) option is set.