Commit 8d505579 authored by Russ Cox's avatar Russ Cox

cc: allow $ as letter in pragma arguments

(Needed for Mac OS X symbol names.)

R=ken2
CC=golang-dev
https://golang.org/cl/3499041
parent ce89f213
......@@ -63,7 +63,7 @@ getsym(void)
if(cp <= symb+NSYMB-4)
*cp++ = c;
c = getc();
if(isalnum(c) || c == '_' || c >= 0x80)
if(isalnum(c) || c == '_' || c >= 0x80 || c == '$')
continue;
unget(c);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment