mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Regenerated.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
This is gperf.info, produced by makeinfo version 4.3 from gperf.texi.
|
||||
Dies ist gperf.info, hergestellt von Makeinfo Version 4.3 aus
|
||||
gperf.texi.
|
||||
|
||||
INFO-DIR-SECTION Programming Tools
|
||||
START-INFO-DIR-ENTRY
|
||||
@@ -6,7 +7,7 @@ START-INFO-DIR-ENTRY
|
||||
END-INFO-DIR-ENTRY
|
||||
|
||||
This file documents the features of the GNU Perfect Hash Function
|
||||
Generator 3.0.
|
||||
Generator 3.0.1.
|
||||
|
||||
Copyright (C) 1989-2003 Free Software Foundation, Inc.
|
||||
|
||||
@@ -669,7 +670,7 @@ not given, or of type `int' if the option `-P' (or, equivalently, the
|
||||
Here is a simple example, using months of the year and their
|
||||
attributes as input:
|
||||
|
||||
struct months { char *name; int number; int days; int leap_days; };
|
||||
struct month { char *name; int number; int days; int leap_days; };
|
||||
%%
|
||||
january, 1, 31, 31
|
||||
february, 2, 28, 29
|
||||
@@ -688,6 +689,14 @@ attributes as input:
|
||||
other fields are a pair of consecutive percent signs, `%%', appearing
|
||||
left justified in the first column, as in the UNIX utility `lex'.
|
||||
|
||||
If the `struct' has already been declared in an include file, it can
|
||||
be mentioned in an abbreviated form, like this:
|
||||
|
||||
struct month;
|
||||
%%
|
||||
january, 1, 31, 31
|
||||
...
|
||||
|
||||
|
||||
File: gperf.info, Node: Gperf Declarations, Next: C Code Inclusion, Prev: User-supplied Struct, Up: Declarations
|
||||
|
||||
@@ -891,9 +900,9 @@ fragment based on the previous example that illustrates this feature:
|
||||
%{
|
||||
#include <assert.h>
|
||||
/* This section of code is inserted directly into the output. */
|
||||
int return_month_days (struct months *months, int is_leap_year);
|
||||
int return_month_days (struct month *months, int is_leap_year);
|
||||
%}
|
||||
struct months { char *name; int number; int days; int leap_days; };
|
||||
struct month { char *name; int number; int days; int leap_days; };
|
||||
%%
|
||||
january, 1, 31, 31
|
||||
february, 2, 28, 29
|
||||
@@ -1011,7 +1020,7 @@ command-line option. Both functions require two arguments, a string,
|
||||
`char *' STR, and a length parameter, `int' LEN. Their default
|
||||
function prototypes are as follows:
|
||||
|
||||
- Function: unsigned int hash (const char * STR, unsigned int LEN)
|
||||
- Funktion: unsigned int hash (const char * STR, unsigned int LEN)
|
||||
By default, the generated `hash' function returns an integer value
|
||||
created by adding LEN to several user-specified STR byte positions
|
||||
indexed into an "associated values" table stored in a local static
|
||||
@@ -1021,7 +1030,7 @@ function prototypes are as follows:
|
||||
STR) are specified via the `-k' option when running `gperf', as
|
||||
detailed in the _Options_ section below (*note Options::).
|
||||
|
||||
- Function: in_word_set (const char * STR, unsigned int LEN)
|
||||
- Funktion: in_word_set (const char * STR, unsigned int LEN)
|
||||
If STR is in the keyword set, returns a pointer to that keyword.
|
||||
More exactly, if the option `-t' (or, equivalently, the
|
||||
`%struct-type' declaration) was given, it returns a pointer to the
|
||||
@@ -1654,32 +1663,32 @@ Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top1234
|
||||
Node: Copying3318
|
||||
Node: Contributors22507
|
||||
Node: Motivation23700
|
||||
Node: Search Structures24828
|
||||
Node: Description28383
|
||||
Node: Input Format30276
|
||||
Node: Declarations31413
|
||||
Node: User-supplied Struct31989
|
||||
Node: Gperf Declarations33405
|
||||
Node: C Code Inclusion41815
|
||||
Node: Keywords42644
|
||||
Node: Functions44580
|
||||
Node: Controls for GNU indent45106
|
||||
Node: Output Format46045
|
||||
Node: Binary Strings48829
|
||||
Node: Options49972
|
||||
Node: Output File50757
|
||||
Node: Input Details51141
|
||||
Node: Output Language52972
|
||||
Node: Output Details54383
|
||||
Node: Algorithmic Details61298
|
||||
Node: Verbosity66547
|
||||
Node: Bugs67250
|
||||
Node: Projects68842
|
||||
Node: Bibliography69970
|
||||
Node: Concept Index72026
|
||||
Node: Top1240
|
||||
Node: Copying3324
|
||||
Node: Contributors22513
|
||||
Node: Motivation23706
|
||||
Node: Search Structures24834
|
||||
Node: Description28389
|
||||
Node: Input Format30282
|
||||
Node: Declarations31419
|
||||
Node: User-supplied Struct31995
|
||||
Node: Gperf Declarations33594
|
||||
Node: C Code Inclusion42004
|
||||
Node: Keywords42831
|
||||
Node: Functions44767
|
||||
Node: Controls for GNU indent45293
|
||||
Node: Output Format46232
|
||||
Node: Binary Strings49016
|
||||
Node: Options50159
|
||||
Node: Output File50944
|
||||
Node: Input Details51328
|
||||
Node: Output Language53159
|
||||
Node: Output Details54570
|
||||
Node: Algorithmic Details61485
|
||||
Node: Verbosity66734
|
||||
Node: Bugs67437
|
||||
Node: Projects69029
|
||||
Node: Bibliography70157
|
||||
Node: Concept Index72213
|
||||
|
||||
End Tag Table
|
||||
|
||||
Reference in New Issue
Block a user