1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Tweak last commit.

* src/keyword.h (Keyword_Factory): Update comments.
This commit is contained in:
Bruno Haible
2025-04-05 14:44:52 +02:00
parent a041291c80
commit 8e6a0c97c6

View File

@@ -82,7 +82,7 @@ private:
unsigned int * init_selchars_low (const Positions& positions, const unsigned int *alpha_unify, const unsigned int *alpha_inc); unsigned int * init_selchars_low (const Positions& positions, const unsigned int *alpha_unify, const unsigned int *alpha_inc);
}; };
/* An abstract factory for creating Keyword instances. /* A factory for creating Keyword instances.
This factory is used to make the Input class independent of the concrete This factory is used to make the Input class independent of the concrete
class KeywordExt. */ class KeywordExt. */
@@ -96,8 +96,7 @@ template <class KT>
virtual ~Keyword_Factory (); virtual ~Keyword_Factory ();
/* Creates a new Keyword. */ /* Creates a new Keyword. */
virtual /*abstract*/ KT * virtual KT * create_keyword (const char *allchars, int allchars_length,
create_keyword (const char *allchars, int allchars_length,
const char *rest, unsigned int lineno); const char *rest, unsigned int lineno);
}; };