diff options
Diffstat (limited to 'apps/gperf/tests/test-4.exp')
-rw-r--r-- | apps/gperf/tests/test-4.exp | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/apps/gperf/tests/test-4.exp b/apps/gperf/tests/test-4.exp index 124abb90585..ff604581721 100644 --- a/apps/gperf/tests/test-4.exp +++ b/apps/gperf/tests/test-4.exp @@ -1,6 +1,6 @@ /* C code produced by gperf version 2.8 (ACE version) */ /* Command-line: ../src/gperf -D -p -t */ -/* Command-line: gperf -p -j1 -i 1 -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */ +/* Command-line: gperf -p -j1 -i 1 -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */ #include <string.h> struct resword { const char *name; short token; enum rid rid; }; @@ -19,6 +19,34 @@ hash (str, len) { static unsigned char asso_values[] = { +#if defined (ACE_MVS) + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 0, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 40, + 20, 50, 25, 10, 30, 0, 0, 50, 83, 83, + 83, 83, 83, 83, 83, 83, 0, 15, 0, 35, + 0, 83, 83, 20, 83, 83, 83, 83, 83, 83, + 83, 83, 0, 10, 40, 5, 15, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, +#else 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, @@ -32,6 +60,7 @@ hash (str, len) 25, 10, 30, 0, 0, 50, 83, 0, 15, 0, 35, 0, 83, 83, 20, 0, 10, 40, 5, 15, 83, 83, 83, 83, 83, 83, 83, 83, +#endif /* ACE_MVS */ }; return len + asso_values[str[len - 1]] + asso_values[str[0]]; } @@ -43,7 +72,7 @@ in_word_set (str, len) { static struct resword wordlist[] = { - {"",}, {"",}, {"",}, {"",}, + {"",},{"",},{"",},{"",}, {"goto", GOTO, NORID}, {"__asm", ASM, NORID}, {"switch", SWITCH, NORID}, |