From: Rob Pike Date: Sun, 1 Feb 2009 00:44:52 +0000 (-0800) Subject: slightly better code for the frog fix X-Git-Tag: weekly.2009-11-06~2251 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6e395cfecf580523d3c46b9db35b95a495474397;p=gostls13.git slightly better code for the frog fix R=ken OCL=24025 CL=24025 --- diff --git a/src/cmd/gc/lex.c b/src/cmd/gc/lex.c index a4f12313e0..78394b89b4 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; }