1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 17:10:59 +01:00

36478: Add [[:INCOMPLETE:]] and [[:INVALID:]] pattern tests.

This commit is contained in:
Peter Stephenson 2015-09-10 20:05:48 +01:00
parent 3bca11c35c
commit e86b3cce47
6 changed files with 77 additions and 14 deletions

View file

@ -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