diff options
author | Rob Pike <r@golang.org> | 2009-01-31 16:44:52 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-01-31 16:44:52 -0800 |
commit | d12103b0a99f82e63a27030a41a6539672253340 (patch) | |
tree | 6427111953e07c91ac1e7462d1e4711774f473c7 | |
parent | 5bfbe0e397ca25decaccc880831623a39d0c9720 (diff) | |
download | golang-d12103b0a99f82e63a27030a41a6539672253340.tar.gz |
slightly better code for the frog fix
R=ken
OCL=24025
CL=24025
-rw-r--r-- | src/cmd/gc/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/gc/lex.c b/src/cmd/gc/lex.c index a4f12313e..78394b89b 100644 --- a/src/cmd/gc/lex.c +++ b/src/cmd/gc/lex.c @@ -305,11 +305,11 @@ isfrog(int c) { if(c < 0) return 1; if(c < ' ') { - if(c == ' ' || c == '\n' || c== '\r' || c == '\t') // good white space + if(c == '\n' || c== '\r' || c == '\t') // good white space return 0; return 1; } - if(0x80 <= c && c <=0xa0) // unicode block including unbreakable space. + if(0x80 <= c && c <= 0xa0) // unicode block including unbreakable space. return 1; return 0; } |