diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 04:24:26 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 04:24:26 +0000 |
commit | 96af6823c1b49a41e873fb4d9ffa16dfce7ffdd9 (patch) | |
tree | 2a41da2823b36e6a68f934e8357b7554930c6622 /parse.y | |
parent | 3f1524f0d26f19434d5f9f188db3a49d6c3f1b0a (diff) |
st.c: straight-forward comparison of characters
These functions are used in strcasehash, which is used to store encoding
names. Encoding names often include hyphens (e.g. "UTF-8"), and
` '-' - 'A' ` is negative (cannot express in unsigned int).
Don't be tricky, just do what to do.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
0 files changed, 0 insertions, 0 deletions