about summary refs log tree commit diff
path: root/Src/pattern.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-09-20 15:10:26 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-09-20 15:10:26 +0000
commit409296e22fb1cef515ccfff507c265a5fee0ab28 (patch)
tree7f15b9e7e175dd6302bf4c434886b263ceac84d8 /Src/pattern.c
parentce43e4a22c250fbaee14580b167986615455f78f (diff)
downloadzsh-409296e22fb1cef515ccfff507c265a5fee0ab28.tar.gz
zsh-409296e22fb1cef515ccfff507c265a5fee0ab28.tar.xz
zsh-409296e22fb1cef515ccfff507c265a5fee0ab28.zip
21736: improve tests for word and identifier characters with multibyte input
Diffstat (limited to 'Src/pattern.c')
-rw-r--r--Src/pattern.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/pattern.c b/Src/pattern.c
index 393d9bf41..36578226c 100644
--- a/Src/pattern.c
+++ b/Src/pattern.c
@@ -2749,6 +2749,10 @@ patmatchrange(char *range, int ch)
 		    return 1;
 		break;
 	    case PP_WORD:
+		/*
+		 * HERE: when we support multibyte characters,
+		 * this test needs to be wcsiword().
+		 */
 		if (iword(ch))
 		    return 1;
 		break;