* PATCH: =~ broken
@ 2007-07-24 9:33 Peter Stephenson
0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2007-07-24 9:33 UTC (permalink / raw)
To: Zsh hackers list
When I made infix tests use C: as the feature type I forgot to change
the code that loads the appropriate form for the new =~ operator.
Index: Src/cond.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/cond.c,v
retrieving revision 1.12
diff -u -r1.12 cond.c
--- Src/cond.c 6 Jul 2007 21:52:39 -0000 1.12
+++ Src/cond.c 24 Jul 2007 09:32:20 -0000
@@ -96,7 +96,7 @@
{
char *modname = isset(REMATCHPCRE) ? "zsh/pcre" : "zsh/regex";
sprintf(overridename = overridebuf, "-%s-match", modname+4);
- (void)ensurefeature(modname, "c:", overridename+1);
+ (void)ensurefeature(modname, "C:", overridename+1);
ctype = COND_MODI;
}
/*FALLTHROUGH*/
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-24 9:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-24 9:33 PATCH: =~ broken Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).