mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +00:00
Introduce new alpha_inc pass, to avoid artificial duplicates.
This commit is contained in:
@@ -67,8 +67,10 @@ struct KeywordExt : public Keyword
|
||||
KeywordExt * _duplicate_link;
|
||||
|
||||
/* Methods depending on the keyposition list. */
|
||||
/* Initializes selchars and selchars_length. */
|
||||
void init_selchars (bool use_all_chars, const Positions& positions);
|
||||
/* Initializes selchars and selchars_length, without reordering. */
|
||||
void init_selchars_tuple (bool use_all_chars, const Positions& positions);
|
||||
/* Initializes selchars and selchars_length, with reordering. */
|
||||
void init_selchars_multiset (bool use_all_chars, const Positions& positions, const unsigned int *alpha_inc);
|
||||
/* Deletes selchars. */
|
||||
void delete_selchars ();
|
||||
|
||||
@@ -78,6 +80,9 @@ struct KeywordExt : public Keyword
|
||||
|
||||
/* Data members used by the output routines. */
|
||||
int _final_index;
|
||||
|
||||
private:
|
||||
unsigned int * init_selchars_low (bool use_all_chars, const Positions& positions, const unsigned int *alpha_inc);
|
||||
};
|
||||
|
||||
/* An abstract factory for creating Keyword instances.
|
||||
|
||||
Reference in New Issue
Block a user