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

Open the input file in main.cc, not in class Options.

This commit is contained in:
Bruno Haible
2003-01-21 12:00:44 +00:00
parent 0a3597e6c2
commit d3a9c2f7ad
5 changed files with 41 additions and 9 deletions

View File

@@ -181,6 +181,9 @@ public:
/* Tests a given boolean option. Returns true if set, false otherwise. */
bool operator[] (Option_Type option) const;
/* Returns the input file name. */
const char * get_input_file_name () const;
/* Returns the iterations value. */
int get_iterations () const;
@@ -244,6 +247,9 @@ private:
/* Holds the boolean options. */
int _option_word;
/* Name of input file. */
char * _input_file_name;
/* Amount to iterate when a collision occurs. */
int _iterations;