diff options
author | Bruno Haible <bruno@clisp.org> | 2000-08-19 08:47:58 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2000-08-19 08:47:58 +0000 |
commit | 891da43ca2137e918e93c09d9bfa1ab16f5015d2 (patch) | |
tree | a991573aaf901fe75cfdb3f0676fbbdf29967211 /doc/gperf.texi | |
parent | 018913610b93959da99e6dbea06c2d29310d556a (diff) | |
download | gperf-891da43ca2137e918e93c09d9bfa1ab16f5015d2.tar.gz |
Add option "-F", initializer suffix, to avoid warnings in gcc.
Diffstat (limited to 'doc/gperf.texi')
-rw-r--r-- | doc/gperf.texi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/gperf.texi b/doc/gperf.texi index c9a9549..ac129b2 100644 --- a/doc/gperf.texi +++ b/doc/gperf.texi @@ -517,7 +517,7 @@ the literal tab character. @item -t Allows you to include a @code{struct} type declaration for generated -code. Any text before a pair of consecutive %% is consider part of the +code. Any text before a pair of consecutive %% is considered part of the type declaration. Key words and additional fields may follow this, one group of fields per line. A set of examples for generating perfect hash tables and functions for Ada, C, and G++, Pascal, and Modula 2 and 3 @@ -578,6 +578,13 @@ the keyword is @samp{name}. This option allows an arbitrary choice of identifier for this component, although it still must occur as the first field in your supplied @code{struct}. +@item -F @var{initializers} +This option is only useful when option @samp{-t} has been given. +It permits to specify initializers for the structure members following +@var{key name} in empty hash table entries. The list of initializers +should start with a comma. By default, the emitted code will +zero-initialize structure members following @var{key name}. + @item -H @var{hash function name} Allows you to specify the name for the generated hash function. Default name is @samp{hash}. This option permits the use of two hash tables in the |