From 8e6a0c97c681c0e3514bab3dfe3256f858644ea0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 5 Apr 2025 14:44:52 +0200 Subject: [PATCH] Tweak last commit. * src/keyword.h (Keyword_Factory): Update comments. --- src/keyword.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/keyword.h b/src/keyword.h index 363784e..35cacef 100644 --- a/src/keyword.h +++ b/src/keyword.h @@ -82,7 +82,7 @@ private: 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 class KeywordExt. */ @@ -96,8 +96,7 @@ template virtual ~Keyword_Factory (); /* Creates a new Keyword. */ - virtual /*abstract*/ KT * - create_keyword (const char *allchars, int allchars_length, + virtual KT * create_keyword (const char *allchars, int allchars_length, const char *rest, unsigned int lineno); };