summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-05 01:43:27 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-05 01:43:27 +0000
commit6afc2d24f2cffa422a74055424f96de2a0f52760 (patch)
treed244dee2f31ff5856eb252c530930861ecd48a29
parent1d6c62a474f20c866eb1a208bac5fca8d7e502ef (diff)
downloadATCD-6afc2d24f2cffa422a74055424f96de2a0f52760.tar.gz
.
-rw-r--r--apps/gperf/ChangeLog6
-rw-r--r--apps/gperf/src/Key_List.cpp2
2 files changed, 7 insertions, 1 deletions
diff --git a/apps/gperf/ChangeLog b/apps/gperf/ChangeLog
index b022cf5216a..25d5f4256a0 100644
--- a/apps/gperf/ChangeLog
+++ b/apps/gperf/ChangeLog
@@ -1,3 +1,9 @@
+Sun Oct 4 20:42:56 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
+
+ * src: Fixed yet another problem with switching from array-based
+ lookups to switch-based lookups. Thanks to Carlos for reporting
+ this.
+
Sat Oct 3 19:36:52 1998 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* src/Options.h:
diff --git a/apps/gperf/src/Key_List.cpp b/apps/gperf/src/Key_List.cpp
index df7312265eb..822a6fa9d03 100644
--- a/apps/gperf/src/Key_List.cpp
+++ b/apps/gperf/src/Key_List.cpp
@@ -525,7 +525,7 @@ Key_List::output_min_max (void)
void
Key_List::output_switch (int use_keyword_table)
{
- if (!option[GLOBAL])
+ if (!option[GLOBAL] && use_keyword_table == 0)
{
if (option[LENTABLE] && option[DUP])
output_keylength_table ();