1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Fill unused asso_values[] entries in search.cc, not in output.cc.

This commit is contained in:
Bruno Haible
2003-04-01 08:13:30 +00:00
parent 8193024d96
commit 0093e33163
5 changed files with 26 additions and 8 deletions

View File

@@ -1,5 +1,13 @@
2002-12-10 Bruno Haible <bruno@clisp.org>
* src/search.cc (Search::optimize): Fill unused asso_values[] entries
with a large value.
* src/output.h (Output::Output): Remove occurrences argument.
(Output::_occurrences): Remove field.
* src/output.cc (Output::Output): Remove occurrences argument.
(Output::output_hash_function): Ignore _occurrences.
* src/main.cc (main): Don't pass the _occurrences to Output.
* src/search.cc (Search::preprepare): Exit if keywords contain
out-of-range characters.