diff options
author | Bruno Haible <bruno@clisp.org> | 2003-05-01 10:10:08 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-05-01 10:10:08 +0000 |
commit | c170151d6755c4229439882784e275f9584ab186 (patch) | |
tree | 7f0c5b6d630bf85a34baa8292e57fad03a69ead6 /tests/charsets.exp | |
parent | ff0be608102a1ccc42211a9a55554cdb57dcde4c (diff) | |
download | gperf-c170151d6755c4229439882784e275f9584ab186.tar.gz |
Add /*FALLTHROUGH*/ comments to output.
Diffstat (limited to 'tests/charsets.exp')
-rw-r--r-- | tests/charsets.exp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/charsets.exp b/tests/charsets.exp index 299674b..1d2cc18 100644 --- a/tests/charsets.exp +++ b/tests/charsets.exp @@ -95,6 +95,7 @@ hash (str, len) { default: hval += asso_values[(unsigned char)str[21]]; + /*FALLTHROUGH*/ case 21: case 20: case 19: @@ -107,24 +108,34 @@ hash (str, len) case 12: case 11: hval += asso_values[(unsigned char)str[10]+1]; + /*FALLTHROUGH*/ case 10: hval += asso_values[(unsigned char)str[9]]; + /*FALLTHROUGH*/ case 9: hval += asso_values[(unsigned char)str[8]+1]; + /*FALLTHROUGH*/ case 8: hval += asso_values[(unsigned char)str[7]+3]; + /*FALLTHROUGH*/ case 7: hval += asso_values[(unsigned char)str[6]]; + /*FALLTHROUGH*/ case 6: hval += asso_values[(unsigned char)str[5]]; + /*FALLTHROUGH*/ case 5: hval += asso_values[(unsigned char)str[4]]; + /*FALLTHROUGH*/ case 4: hval += asso_values[(unsigned char)str[3]]; + /*FALLTHROUGH*/ case 3: hval += asso_values[(unsigned char)str[2]]; + /*FALLTHROUGH*/ case 2: hval += asso_values[(unsigned char)str[1]+1]; + /*FALLTHROUGH*/ case 1: hval += asso_values[(unsigned char)str[0]]; break; |