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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user