diff options
author | Bruno Haible <bruno@clisp.org> | 2004-08-22 16:04:16 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2004-08-22 16:04:16 +0000 |
commit | f969e5adb3dc74b667dd2b4e545517abaa395f8a (patch) | |
tree | 82e69d70ddcfc224dd73eb0dc4ab0701267840c5 /tests | |
parent | e5f2f1dc440a3ce66cb12851074909a804ce3a7c (diff) | |
download | gperf-f969e5adb3dc74b667dd2b4e545517abaa395f8a.tar.gz |
Added --length-table-name option.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.in | 1 | ||||
-rw-r--r-- | tests/test-6.exp | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile.in b/tests/Makefile.in index ad24806..8536768 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -230,6 +230,7 @@ check-lang-syntax : force $(VALIDATE) KR-C,C,ANSI-C,C++ -k1,2 $(srcdir)/jstest1.gperf -K key_name $(VALIDATE) KR-C,C,ANSI-C,C++ -k1,2 $(srcdir)/jstest1.gperf -H hash_function_name $(VALIDATE) KR-C,C,ANSI-C,C++ -k1,2 $(srcdir)/jstest1.gperf -W word_list_name + $(VALIDATE) KR-C,C,ANSI-C,C++ -k1,2 $(srcdir)/jstest1.gperf -l --length-table-name=length_table_name sed -e 's,in_word_set,lookup_function_name,g' < $(srcdir)/jstest1.gperf > tmp-jstest1.gperf && \ $(VALIDATE) KR-C,C,ANSI-C,C++ -k1,2 tmp-jstest1.gperf -N lookup_function_name sed -e 's,Perfect_Hash,class_name,g' < $(srcdir)/jstest1.gperf > tmp-jstest1.gperf && \ diff --git a/tests/test-6.exp b/tests/test-6.exp index 86eba89..8a08b8f 100644 --- a/tests/test-6.exp +++ b/tests/test-6.exp @@ -71,6 +71,9 @@ Details in the output code: -W, --word-array-name=NAME Specify name of word list array. Default name is 'wordlist'. + --length-table-name=NAME + Specify name of length table array. Default name is + 'lengthtable'. -S, --switch=COUNT Causes the generated C code to use a switch statement scheme, rather than an array lookup table. This can lead to a reduction in both time and space |