about summary refs log tree commit diff
path: root/Src/hashtable.c
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 /Src/hashtable.c
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 'Src/hashtable.c')
-rw-r--r--Src/hashtable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/hashtable.c b/Src/hashtable.c
index b4c83a1fa..90739a882 100644
--- a/Src/hashtable.c
+++ b/Src/hashtable.c
@@ -1059,10 +1059,12 @@ static struct reswd reswds[] = {
     {{NULL, "esac", 0}, ESAC},
     {{NULL, "export", 0}, TYPESET},
     {{NULL, "fi", 0}, FI},
+    {{NULL, "float", 0}, TYPESET},
     {{NULL, "for", 0}, FOR},
     {{NULL, "foreach", 0}, FOREACH},
     {{NULL, "function", 0}, FUNC},
     {{NULL, "if", 0}, IF},
+    {{NULL, "integer", 0}, TYPESET},
     {{NULL, "local", 0}, TYPESET},
     {{NULL, "nocorrect", 0}, NOCORRECT},
     {{NULL, "readonly", 0}, TYPESET},