1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Rework the Read_Line class.

This commit is contained in:
Bruno Haible
2002-12-11 18:50:41 +00:00
parent c3412a80e7
commit ebc7fe6188
7 changed files with 23 additions and 8 deletions

View File

@@ -45,12 +45,12 @@ KeywordExt_Factory::create_keyword (const char *allchars, int allchars_length, c
int
main (int argc, char *argv[])
{
/* Set the Options. */
/* Set the Options. Open the input file and assign stdin to it. */
option.parse_options (argc, argv);
/* Initialize the key word list. */
KeywordExt_Factory factory;
Input inputter (&factory);
Input inputter (stdin, &factory);
inputter.read_keys ();
/* We can cast the keyword list to KeywordExt_List* because its list
elements were created by KeywordExt_Factory. */