diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-12-02 16:01:04 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-12-03 09:54:11 +0000 |
commit | fd2ca229ddfc913f14f3b4b27fe8dcb25a5bba1d (patch) | |
tree | 21f85f153c516486b4c31bb9699e332913ce7d19 /Src/Zle/comp.h | |
parent | 6b5df9881c6ee08b2c3f3a51592272abbf427347 (diff) | |
download | zsh-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/comp.h')
-rw-r--r-- | Src/Zle/comp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/Zle/comp.h b/Src/Zle/comp.h index 3711fde29..3e9834560 100644 --- a/Src/Zle/comp.h +++ b/Src/Zle/comp.h @@ -153,7 +153,9 @@ struct cmatcher { Cpattern line; /* what matches on the line */ int llen; /* length of line pattern */ Cpattern word; /* what matches in the word */ - int wlen; /* length of word pattern */ + int wlen; /* length of word pattern, or: + -1: word pattern is one asterisk + -2: word pattern is two asterisks */ Cpattern left; /* left anchor */ int lalen; /* length of left anchor */ Cpattern right; /* right anchor */ |