about summary refs log tree commit diff
path: root/Src/Zle/comp.h
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-09-10 20:05:48 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-09-10 20:05:48 +0100
commite86b3cce47e62c263301322ce24b56cf04b8cdb8 (patch)
tree91eaa77e5d56290e2d06e6d8340f6831fbd0b139 /Src/Zle/comp.h
parent3bca11c35cf9185c28a9b01e866bc5c7b1a96bfd (diff)
downloadzsh-e86b3cce47e62c263301322ce24b56cf04b8cdb8.tar.gz
zsh-e86b3cce47e62c263301322ce24b56cf04b8cdb8.tar.xz
zsh-e86b3cce47e62c263301322ce24b56cf04b8cdb8.zip
36478: Add [[:INCOMPLETE:]] and [[:INVALID:]] pattern tests.
Diffstat (limited to 'Src/Zle/comp.h')
-rw-r--r--Src/Zle/comp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/Zle/comp.h b/Src/Zle/comp.h
index 34da2cabb..023c41814 100644
--- a/Src/Zle/comp.h
+++ b/Src/Zle/comp.h
@@ -202,8 +202,9 @@ struct cpattern {
  * TODO: this will change.
  */
 #ifdef MULTIBYTE_SUPPORT
-#define PATMATCHRANGE(r, c, ip, mtp)	mb_patmatchrange(r, c, ip, mtp)
-#define PATMATCHINDEX(r, i, cp, mtp)	mb_patmatchindex(r, i, cp, mtp)
+#define PATMATCHRANGE(r, c, ip, mtp)		\
+    mb_patmatchrange(r, c, ZMB_VALID, ip, mtp)
+#define PATMATCHINDEX(r, i, cp, mtp)    mb_patmatchindex(r, i, cp, mtp)
 #define CONVCAST(c)			((wchar_t)(c))
 #define CHR_INVALID			(WEOF)
 #else