Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Option completion after "nono"
- X-seq: zsh-workers 12945
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: Option completion after "nono"
- Date: Tue, 10 Oct 2000 15:34:54 +0200 (MET DST)
- In-reply-to: Sven Wischnowsky's message of Tue, 10 Oct 2000 10:31:38 +0200 (MET DST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Slightly misplaced. Sorry.
Bye
Sven
Index: Src/Zle/compmatch.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/compmatch.c,v
retrieving revision 1.25
diff -u -r1.25 compmatch.c
--- Src/Zle/compmatch.c 2000/10/10 08:36:34 1.25
+++ Src/Zle/compmatch.c 2000/10/10 13:34:14
@@ -843,6 +843,9 @@
he = 0;
} else {
+ if (!lw)
+ break;
+
if (exact) {
/* If we just accepted some characters directly (at the
* beginning of the loop) and now can't match any further,
@@ -858,9 +861,6 @@
goto retry;
}
-
- if (!lw)
- break;
/* No matcher and different characters: l does not match w. */
if (test)
return 0;
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author