tAllow unicode in identifiers. - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 040b6da0284087287408f600d988604df9ebfd03 | |
parent 8acaca696eb6a6efbe3c314ac5a6f6f73dbebc73 | |
Author: rsc | |
Date: Sun, 1 May 2005 17:56:35 +0000 Allow unicode in identifiers. Diffstat: M src/cmd/9term/9term.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- | |
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c | |
t@@ -307,9 +307,7 @@ threadmain(int argc, char *argv[]) int isexpand(Rune r) { - return r=='_' || ('0' <= r && r <= '9') - || ('a' <= r && r <= 'z') - || ('A' <= r && r <= 'Z'); + return r=='_' || ('0' <= r && r <= '9') || isalpharune(r); } void |