diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-15 01:39:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-15 01:39:00 +0000 |
commit | c037f1f61696d64cbe42b6bb4bd1f0558578146d (patch) | |
tree | 656640e92fe8a49f6a1274de07df9c590c02c0ff /regparse.c | |
parent | 9f9201b85d282d6f1f1999bfab7ac22b26e2d768 (diff) | |
download | ruby-c037f1f61696d64cbe42b6bb4bd1f0558578146d.tar.gz |
* adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regparse.c')
-rw-r--r-- | regparse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regparse.c b/regparse.c index f1e8e4f20a..f82db81960 100644 --- a/regparse.c +++ b/regparse.c @@ -5670,7 +5670,8 @@ node_extended_grapheme_cluster(Node** np, ScanEnv* env) } static int -countbits(unsigned int bits) { +countbits(unsigned int bits) +{ bits = (bits & 0x55555555) + ((bits >> 1) & 0x55555555); bits = (bits & 0x33333333) + ((bits >> 2) & 0x33333333); bits = (bits & 0x0f0f0f0f) + ((bits >> 4) & 0x0f0f0f0f); |