From 6e395cfecf580523d3c46b9db35b95a495474397 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sat, 31 Jan 2009 16:44:52 -0800 Subject: [PATCH] slightly better code for the frog fix R=ken OCL=24025 CL=24025 --- src/cmd/gc/lex.c | 4 ++-- 1 file 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; } -- 2.48.1