diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-06-22 13:09:55 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-06-22 13:09:55 +0000 |
commit | d591334e9d616830fbd24909db2e21ac4b959742 (patch) | |
tree | 65b44f10e6995c95605c8a56c3ca0fd9bfe6ad9d /Src/prompt.c | |
parent | 6a1d913bd6214d7ca7f8cf1a82efef1fa4bae101 (diff) | |
download | zsh-d591334e9d616830fbd24909db2e21ac4b959742.tar.gz zsh-d591334e9d616830fbd24909db2e21ac4b959742.tar.xz zsh-d591334e9d616830fbd24909db2e21ac4b959742.zip |
20076, 20084: { ... } always { ... } syntax.
Diffstat (limited to 'Src/prompt.c')
-rw-r--r-- | Src/prompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/prompt.c b/Src/prompt.c index a889f7cd3..56d6a76fd 100644 --- a/Src/prompt.c +++ b/Src/prompt.c @@ -49,7 +49,7 @@ int cmdsp; /* parser states, for %_ */ -static char *cmdnames[] = { +static char *cmdnames[CS_COUNT] = { "for", "while", "repeat", "select", "until", "if", "then", "else", "elif", "math", "cond", "cmdor", @@ -57,7 +57,7 @@ static char *cmdnames[] = { "case", "function", "subsh", "cursh", "array", "quote", "dquote", "bquote", "cmdsubst", "mathsubst", "elif-then", "heredoc", - "heredocd", "brace", "braceparam", + "heredocd", "brace", "braceparam", "always", }; /* The buffer into which an expanded and metafied prompt is being written, * |