diff options
| author | Peter Stephenson <pws@zsh.org> | 2015-06-18 14:54:41 +0100 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2015-06-24 10:21:12 +0100 |
| commit | 39b28980f38e83e15cdeb19a489b5659af97fe93 (patch) | |
| tree | e68f09fc59fc7008ff732704cbabed7e3df5f188 /Doc/Zsh/grammar.yo | |
| parent | 35573: turn off POSIX_BUILTINS in completion. (diff) | |
| download | zsh-39b28980f38e83e15cdeb19a489b5659af97fe93.tar zsh-39b28980f38e83e15cdeb19a489b5659af97fe93.tar.gz zsh-39b28980f38e83e15cdeb19a489b5659af97fe93.tar.bz2 zsh-39b28980f38e83e15cdeb19a489b5659af97fe93.tar.lz zsh-39b28980f38e83e15cdeb19a489b5659af97fe93.tar.xz zsh-39b28980f38e83e15cdeb19a489b5659af97fe93.tar.zst zsh-39b28980f38e83e15cdeb19a489b5659af97fe93.zip | |
various posts: Implement assignment parsing for typeset.
Typeset assignments now work like raw assignments except
for no "+=" and no GLOB_ASSIGN.
Documented in typeset builtin doc and mentioned in release notes.
Tests to ensure basic sanity.
Enabled by default, can be turned off by "disable -r" with typeset
family of commands.
Diffstat (limited to 'Doc/Zsh/grammar.yo')
| -rw-r--r-- | Doc/Zsh/grammar.yo | 3 |
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. |
