summaryrefslogtreecommitdiff
path: root/utils/cc/macbody
diff options
context:
space:
mode:
authorforsyth <forsyth@lavoro.terzarima.net>2013-06-03 21:01:14 +0000
committerforsyth <forsyth@lavoro.terzarima.net>2013-06-03 21:01:14 +0000
commit45a20ab721a513710138340faff3d59a31c3e01e (patch)
treeeea29d2684c51cc73725b8992a2125bede48e118 /utils/cc/macbody
parentcd8e99851af33e52bcdf8faf34f9d4e62fa0cbaf (diff)
sync compilers with Plan 9
remove 1[acl] 2[acl]
Diffstat (limited to 'utils/cc/macbody')
-rw-r--r--utils/cc/macbody4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cc/macbody b/utils/cc/macbody
index e26dc427..7c86bac1 100644
--- a/utils/cc/macbody
+++ b/utils/cc/macbody
@@ -25,7 +25,7 @@ getsym(void)
char *cp;
c = getnsc();
- if(!isalpha(c) && c != '_') {
+ if(!isalpha(c) && c != '_' && c < Runeself) {
unget(c);
return S;
}
@@ -33,7 +33,7 @@ getsym(void)
if(cp <= symb+NSYMB-4)
*cp++ = c;
c = getc();
- if(isalnum(c) || c == '_')
+ if(isalnum(c) || c == '_' || c >= Runeself)
continue;
unget(c);
break;