mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +00:00
Add a length-table-name option and declaration.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
@c some day we should @include version.texi instead of defining
|
||||
@c these values at hand.
|
||||
@set UPDATED 12 June 2003
|
||||
@set UPDATED 22 August 2004
|
||||
@set EDITION 3.0.1
|
||||
@set VERSION 3.0.1
|
||||
@c ---------------------
|
||||
@@ -28,7 +28,7 @@
|
||||
This file documents the features of the GNU Perfect Hash Function
|
||||
Generator @value{VERSION}.
|
||||
|
||||
Copyright @copyright{} 1989-2003 Free Software Foundation, Inc.
|
||||
Copyright @copyright{} 1989-2004 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice are
|
||||
@@ -66,7 +66,7 @@ Software Foundation instead of in the original English.
|
||||
|
||||
@page
|
||||
@vskip 0pt plus 1filll
|
||||
Copyright @copyright{} 1989-2003 Free Software Foundation, Inc.
|
||||
Copyright @copyright{} 1989-2004 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of
|
||||
@@ -605,6 +605,13 @@ hash table. Default name is @samp{wordlist}. This option permits the
|
||||
use of two hash tables in the same file, even when the option @samp{-G}
|
||||
(or, equivalently, the @samp{%global-table} declaration) is given.
|
||||
|
||||
@item %define length-table-name @var{name}
|
||||
@cindex @samp{%define length-table-name}
|
||||
Allows you to specify the name for the generated array containing the
|
||||
length table. Default name is @samp{lengthtable}. This option permits the
|
||||
use of two length tables in the same file, even when the option @samp{-G}
|
||||
(or, equivalently, the @samp{%global-table} declaration) is given.
|
||||
|
||||
@item %switch=@var{count}
|
||||
@cindex @samp{%switch}
|
||||
Causes the generated C code to use a @code{switch} statement scheme,
|
||||
@@ -1082,6 +1089,13 @@ hash table. Default name is @samp{wordlist}. This option permits the
|
||||
use of two hash tables in the same file, even when the option @samp{-G}
|
||||
(or, equivalently, the @samp{%global-table} declaration) is given.
|
||||
|
||||
@itemx --length-table-name=@var{length-table-array-name}
|
||||
@cindex Array name
|
||||
Allows you to specify the name for the generated array containing the
|
||||
length table. Default name is @samp{lengthtable}. This option permits the
|
||||
use of two length tables in the same file, even when the option @samp{-G}
|
||||
(or, equivalently, the @samp{%global-table} declaration) is given.
|
||||
|
||||
@item -S @var{total-switch-statements}
|
||||
@itemx --switch=@var{total-switch-statements}
|
||||
@cindex @code{switch}
|
||||
|
||||
Reference in New Issue
Block a user