From 83f7d932d481994761162fb454f9465c9f68ecba Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 17 Jun 1999 00:07:52 +0000 Subject: Fixed the key_word table generation so that it generates the "default fill" string for the null entries in the table. Thanks to Irfan and Naga for helping in this. --- apps/gperf/src/Key_List.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/gperf/src/Key_List.cpp') diff --git a/apps/gperf/src/Key_List.cpp b/apps/gperf/src/Key_List.cpp index a2d8e06a256..7f4e10c7514 100644 --- a/apps/gperf/src/Key_List.cpp +++ b/apps/gperf/src/Key_List.cpp @@ -807,7 +807,7 @@ Key_List::output_keyword_table (void) for (column = 1; slot < head->hash_value; column++) { - ACE_OS::printf ("%s\"\"%s,%s %s", + ACE_OS::printf ("%s\"\",%s%s%s", l_brace, option.fill_default (), r_brace, @@ -831,7 +831,11 @@ Key_List::output_keyword_table (void) ACE_OS::printf (" "); for (column = 1; slot < temp->hash_value; slot++, column++) - ACE_OS::printf ("%s\"\",%s %s", l_brace, r_brace, column % 9 ? "" : "\n "); + ACE_OS::printf ("%s\"\",%s%s%s", + l_brace, + option.fill_default (), + r_brace, + column % 9 ? "" : "\n "); if (column % 10) ACE_OS::printf ("\n"); -- cgit v1.2.1