about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-12-22 16:12:42 +0100
committerOliver Kiddle <opk@zsh.org>2016-12-22 16:12:42 +0100
commit02eb1595e8687fd0facd4a8b0e4a19c61a35b664 (patch)
tree77fcef536981560f835363abd6e8c0f50763fdab /Src/Zle
parentfa88f57c066b8f00bf08b0e1a787b6d9b4cf8485 (diff)
downloadzsh-02eb1595e8687fd0facd4a8b0e4a19c61a35b664.tar.gz
zsh-02eb1595e8687fd0facd4a8b0e4a19c61a35b664.tar.xz
zsh-02eb1595e8687fd0facd4a8b0e4a19c61a35b664.zip
40162: _arguments support for a match spec in combination with sets
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/computil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 192ddeab9..d2f0c999b 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -1288,7 +1288,7 @@ parse_cadef(char *nam, char **args)
 		ret->ndopts = ndopts;
 		ret->nodopts = nodopts;
 		set_cadef_opts(ret);
-		ret = ret->snext = alloc_cadef(NULL, single, NULL, nonarg, flags);
+		ret = ret->snext = alloc_cadef(NULL, single, match, nonarg, flags);
 		optp = &(ret->opts);
 		nopts = ndopts = nodopts = 0;
 		anum = 1;