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 | 6e395cfecf580523d3c46b9db35b95a495474397 (patch) | |
| tree | 6427111953e07c91ac1e7462d1e4711774f473c7 /src | |
| parent | 2538cf747bb5731702b801cc924daff2d12a43da (diff) | |
| download | go-6e395cfecf580523d3c46b9db35b95a495474397.tar.xz | |
slightly better code for the frog fix
R=ken
OCL=24025
CL=24025
Diffstat (limited to 'src')
| -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 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; } |
