about summary refs log tree commit diff
path: root/Src/Zle/complete.c
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-12-02 16:01:04 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-12-03 09:54:11 +0000
commitfd2ca229ddfc913f14f3b4b27fe8dcb25a5bba1d (patch)
tree21f85f153c516486b4c31bb9699e332913ce7d19 /Src/Zle/complete.c
parent6b5df9881c6ee08b2c3f3a51592272abbf427347 (diff)
downloadzsh-fd2ca229ddfc913f14f3b4b27fe8dcb25a5bba1d.tar.gz
zsh-fd2ca229ddfc913f14f3b4b27fe8dcb25a5bba1d.tar.xz
zsh-fd2ca229ddfc913f14f3b4b27fe8dcb25a5bba1d.zip
40067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', unsetparam_pm(), and getindex().
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