diff options
author | Peter Stephenson <pws@zsh.org> | 2015-06-18 14:54:41 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-06-19 09:50:29 +0100 |
commit | a29746ee48c84b40add764f3cbd62d995179f72a (patch) | |
tree | 9630693c7add01f6fbb6dd893c0bc233e824d169 /Src/hashtable.c | |
parent | 98687fa1dec803f041cbb5417c146d8aa5129b53 (diff) | |
download | zsh-a29746ee48c84b40add764f3cbd62d995179f72a.tar.gz zsh-a29746ee48c84b40add764f3cbd62d995179f72a.tar.xz zsh-a29746ee48c84b40add764f3cbd62d995179f72a.zip |
First compiling attempt at typeset array handling.
Completely untested and undebugged.
Diffstat (limited to 'Src/hashtable.c')
-rw-r--r-- | Src/hashtable.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/hashtable.c b/Src/hashtable.c index 2b5524999..14c65e647 100644 --- a/Src/hashtable.c +++ b/Src/hashtable.c @@ -1050,6 +1050,7 @@ static struct reswd reswds[] = { {{NULL, "}", 0}, OUTBRACE}, {{NULL, "case", 0}, CASE}, {{NULL, "coproc", 0}, COPROC}, + {{NULL, "declare", 0}, TYPESET}, {{NULL, "do", 0}, DOLOOP}, {{NULL, "done", 0}, DONE}, {{NULL, "elif", 0}, ELIF}, @@ -1061,11 +1062,14 @@ static struct reswd reswds[] = { {{NULL, "foreach", 0}, FOREACH}, {{NULL, "function", 0}, FUNC}, {{NULL, "if", 0}, IF}, + {{NULL, "local", 0}, TYPESET}, {{NULL, "nocorrect", 0}, NOCORRECT}, + {{NULL, "readonly", 0}, TYPESET}, {{NULL, "repeat", 0}, REPEAT}, {{NULL, "select", 0}, SELECT}, {{NULL, "then", 0}, THEN}, {{NULL, "time", 0}, TIME}, + {{NULL, "typeset", 0}, TYPESET}, {{NULL, "until", 0}, UNTIL}, {{NULL, "while", 0}, WHILE}, {{NULL, NULL, 0}, 0} |