summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-04-30 10:36:10 +0000
committerBruno Haible <bruno@clisp.org>2003-04-30 10:36:10 +0000
commitff0be608102a1ccc42211a9a55554cdb57dcde4c (patch)
tree99452052f01d78ecad2c9d6981e67bc9a74de5e0 /doc
parent5fbcad1840cbf05be190e073c3c8e97af7b97f53 (diff)
downloadgperf-ff0be608102a1ccc42211a9a55554cdb57dcde4c.tar.gz
New declaration "%define initializer-suffix".
Diffstat (limited to 'doc')
-rw-r--r--doc/gperf.texi13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/gperf.texi b/doc/gperf.texi
index 6b633ee..5901e23 100644
--- a/doc/gperf.texi
+++ b/doc/gperf.texi
@@ -7,7 +7,7 @@
@c some day we should @include version.texi instead of defining
@c these values at hand.
-@set UPDATED 1 January 2003
+@set UPDATED 1 March 2003
@set EDITION 2.7.2
@set VERSION 2.7.2
@c ---------------------
@@ -472,13 +472,22 @@ The default is C.
@item %define slot-name @var{name}
@cindex @samp{%define slot-name}
-This option is only useful when option @samp{-t} (or, equivalently, the
+This declaration is only useful when option @samp{-t} (or, equivalently, the
@samp{%struct-type} declaration) has been given.
By default, the program assumes the structure component identifier for
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 %define initializer-suffix @var{initializers}
+@cindex @samp{%define initializer-suffix}
+This declaration is only useful when option @samp{-t} (or, equivalently, the
+@samp{%struct-type} declaration) has been given.
+It permits to specify initializers for the structure members following
+@var{slot-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{slot-name}.
+
@item %define hash-function-name @var{name}
@cindex @samp{%define hash-function-name}
Allows you to specify the name for the generated hash function. Default