diff options
author | rsc <devnull@localhost> | 2005-05-01 17:56:35 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-05-01 17:56:35 +0000 |
commit | 040b6da0284087287408f600d988604df9ebfd03 (patch) | |
tree | 1f5935708853c2047a00f10f3e09e8e141e6239f /src | |
parent | 8acaca696eb6a6efbe3c314ac5a6f6f73dbebc73 (diff) | |
download | plan9port-040b6da0284087287408f600d988604df9ebfd03.tar.gz plan9port-040b6da0284087287408f600d988604df9ebfd03.tar.bz2 plan9port-040b6da0284087287408f600d988604df9ebfd03.zip |
Allow unicode in identifiers.
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/9term/9term.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index 34c155cf..a620410a 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -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 |