unposted: internals: Document zshcompwid(1) parameter implementations.

This commit is contained in:
Daniel Shahaf 2016-09-04 21:14:52 +00:00
parent 5b4cbcc842
commit 02bb3de257
3 changed files with 26 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2016-09-04 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Src/Zle/comp.h, Src/Zle/complete.c: internals:
Document zshcompwid(1) parameter implementations.
2016-09-03 Oliver Kiddle <opk@zsh.org>
* Marko Myllynen: 39158: Completion/Unix/Command/_libvirt:

View file

@ -367,7 +367,7 @@ typedef void (*CLPrintFunc)(Cmgroup, Cmatch *, int, int, int, int);
#define CP_QISUFFIX (1 << CPN_QISUFFIX)
#define CPN_COMPSTATE 9
#define CP_COMPSTATE (1 << CPN_COMPSTATE)
/* See comprpms */
#define CP_REALPARAMS 10
#define CP_ALLREALS ((unsigned int) 0x3ff)
@ -424,7 +424,7 @@ typedef void (*CLPrintFunc)(Cmgroup, Cmatch *, int, int, int, int);
#define CP_QUOTES (1 << CPN_QUOTES)
#define CPN_IGNORED 25
#define CP_IGNORED (1 << CPN_IGNORED)
/* See compkpms */
#define CP_KEYPARAMS 26
#define CP_ALLKEYS ((unsigned int) 0x3ffffff)

View file

@ -72,8 +72,26 @@ char *compiprefix,
*compoldins,
*compvared;
/*
* An array of Param structures for compsys special parameters;
* see 'comprparams' below. An entry for $compstate is added
* by makecompparams().
*
* See CP_REALPARAMS.
*/
/**/
Param *comprpms, *compkpms;
Param *comprpms;
/*
* An array of Param structures for elemens of $compstate; see
* 'compkparams' below.
*
* See CP_KEYPARAMS.
*/
/**/
Param *compkpms;
/**/
mod_export void