summaryrefslogtreecommitdiff
path: root/Src/Zle/complete.c
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2016-12-06 21:51:35 +0100
committerAxel Beckert <abe@deuxchevaux.org>2016-12-06 21:51:35 +0100
commite631e433ac7afacf9f756f2bc0dec47fa5930a24 (patch)
tree9d67e40f2c33ad956c063f1356dbd226cf649850 /Src/Zle/complete.c
parentf6ab748f518e7fa542f3a7bef311c698a45b1fef (diff)
parent9f605904dda106c181717877f29261782fbf243d (diff)
downloadzsh-e631e433ac7afacf9f756f2bc0dec47fa5930a24.tar.gz
zsh-e631e433ac7afacf9f756f2bc0dec47fa5930a24.zip
Merge tag 'zsh-5.2-test-2' into debian
Second test version before 5.3
Diffstat (limited to 'Src/Zle/complete.c')
-rw-r--r--Src/Zle/complete.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c
index 7980518b7..48fcd4751 100644
--- a/Src/Zle/complete.c
+++ b/Src/Zle/complete.c
@@ -67,7 +67,7 @@ char *compiprefix,
*compexact,
*compexactstr,
*comppatinsert,
- *comptoend,
+ *comptoend, /* compstate[to_end]; populates 'movetoend' */
*compoldlist,
*compoldins,
*compvared;
@@ -227,7 +227,15 @@ cpcpattern(Cpattern o)
return r;
}
-/* Parse a string for matcher control, containing multiple matchers. */
+/*
+ * Parse a string for matcher control, containing multiple matchers.
+ *
+ * 's' is the string to be parsed.
+ *
+ * 'name' is the name of the builtin from which this is called, for errors.
+ *
+ * Return 'pcm_err' on error; a NULL return value means ...
+ */
/**/
mod_export Cmatcher