diff options
author | Bruno Haible <bruno@clisp.org> | 2003-04-04 10:04:24 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-04-04 10:04:24 +0000 |
commit | ec3d1127fa7742bd291bfe039fd76b4d2381da6f (patch) | |
tree | 00b6e3fcb77aa8b2e9fa88676daa78fddd07345a /tests | |
parent | 68f03b3ea7cd6b2df10d395caf52652da7ca0df6 (diff) | |
download | gperf-ec3d1127fa7742bd291bfe039fd76b4d2381da6f.tar.gz |
Change the positions to be 0-based, instead of 1-based.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/c-parse.exp | 1 | ||||
-rw-r--r-- | tests/charsets.exp | 1 | ||||
-rw-r--r-- | tests/cplusplus.exp | 1 | ||||
-rw-r--r-- | tests/java.exp | 1 | ||||
-rw-r--r-- | tests/languages.exp | 1 | ||||
-rw-r--r-- | tests/modula2.exp | 1 | ||||
-rw-r--r-- | tests/objc.exp | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/tests/c-parse.exp b/tests/c-parse.exp index 405be7b..65033c6 100644 --- a/tests/c-parse.exp +++ b/tests/c-parse.exp @@ -57,7 +57,6 @@ hash (str, len) switch (hval) { default: - case 3: hval += asso_values[(unsigned char)str[2]]; case 2: case 1: diff --git a/tests/charsets.exp b/tests/charsets.exp index 8b844ca..92f5a33 100644 --- a/tests/charsets.exp +++ b/tests/charsets.exp @@ -66,7 +66,6 @@ hash (str, len) switch (hval) { default: - case 22: hval += asso_values[(unsigned char)str[21]]; case 21: case 20: diff --git a/tests/cplusplus.exp b/tests/cplusplus.exp index 598e95f..f8a4765 100644 --- a/tests/cplusplus.exp +++ b/tests/cplusplus.exp @@ -57,7 +57,6 @@ hash (str, len) switch (hval) { default: - case 7: hval += asso_values[(unsigned char)str[6]]; case 6: case 5: diff --git a/tests/java.exp b/tests/java.exp index e2ca0c6..6965094 100644 --- a/tests/java.exp +++ b/tests/java.exp @@ -81,7 +81,6 @@ hash (str, len) switch (hval) { default: - case 3: hval += asso_values[(unsigned char)str[2]]; case 2: case 1: diff --git a/tests/languages.exp b/tests/languages.exp index 9edb795..f30a856 100644 --- a/tests/languages.exp +++ b/tests/languages.exp @@ -70,7 +70,6 @@ hash (str, len) switch (hval) { default: - case 5: hval += asso_values[(unsigned char)str[4]+1]; case 4: case 3: diff --git a/tests/modula2.exp b/tests/modula2.exp index f0f033d..a38ba5e 100644 --- a/tests/modula2.exp +++ b/tests/modula2.exp @@ -54,7 +54,6 @@ hash (str, len) switch (len) { default: - case 8: hval += asso_values[(unsigned char)str[7]]; case 7: hval += asso_values[(unsigned char)str[6]]; diff --git a/tests/objc.exp b/tests/objc.exp index 6d604da..316f63d 100644 --- a/tests/objc.exp +++ b/tests/objc.exp @@ -57,7 +57,6 @@ hash (str, len) switch (hval) { default: - case 3: hval += asso_values[(unsigned char)str[2]]; case 2: case 1: |