diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-10-18 11:56:14 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-10-18 11:56:14 +0000 |
commit | b115ca307adf7ef9dca13f6e7ce40768bc0b2b75 (patch) | |
tree | 64a7e6568c6f082ae52e2e28e342d82a9947ad29 /Src/Zle/complist.c | |
parent | bc704ef05c532cff4a9ae49a22aa6cd35299cd5b (diff) | |
download | zsh-b115ca307adf7ef9dca13f6e7ce40768bc0b2b75.tar.gz zsh-b115ca307adf7ef9dca13f6e7ce40768bc0b2b75.tar.xz zsh-b115ca307adf7ef9dca13f6e7ce40768bc0b2b75.zip |
20500: Unmetafy patterns where possible and other minor pattern fixes
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r-- | Src/Zle/complist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 9ef7b6ebc..2b2378a43 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -601,7 +601,7 @@ putmatchcol(Listcols c, char *group, char *n) for (pc = c->pats; pc; pc = pc->next) if ((!pc->prog || !group || pattry(pc->prog, group)) && - pattryrefs(pc->pat, n, &nrefs, begpos, endpos)) { + pattryrefs(pc->pat, n, -1, 0, &nrefs, begpos, endpos)) { if (pc->cols[1]) { patcols = pc->cols; @@ -639,7 +639,7 @@ putfilecol(Listcols c, char *group, char *n, mode_t m) for (pc = c->pats; pc; pc = pc->next) if ((!pc->prog || !group || pattry(pc->prog, group)) && - pattryrefs(pc->pat, n, &nrefs, begpos, endpos)) { + pattryrefs(pc->pat, n, -1, 0, &nrefs, begpos, endpos)) { if (pc->cols[1]) { patcols = pc->cols; |