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

delimiter -> delimiters.

This commit is contained in:
Bruno Haible
2002-12-06 16:46:14 +00:00
parent 218f1b2fac
commit d776b8df65
4 changed files with 21 additions and 11 deletions

View File

@@ -343,14 +343,14 @@ Input::read_keys ()
}
/* Read in all the keywords from the input file. */
const char *delimiter = option.get_delimiter ();
const char *delimiters = option.get_delimiters ();
_head = parse_line (ptr, delimiter);
_head = parse_line (ptr, delimiters);
for (Keyword_List *temp = _head;
(ptr = Read_Line::read_next_line ()) && strcmp (ptr, "%%");
temp = temp->rest())
temp->rest() = parse_line (ptr, delimiter);
temp->rest() = parse_line (ptr, delimiters);
/* See if any additional C code is included at end of this file. */
_additional_code = false;

View File

@@ -215,19 +215,21 @@ public:
const char * get_wordlist_name () const;
/* Returns the string used to delimit keywords from other attributes. */
const char * get_delimiter () const;
const char * get_delimiters () const;
/* Returns key positions. */
/* Returns key positions.
Only to be called if !options[ALLCHARS]. */
const Positions& get_key_positions () const;
/* Returns total distinct key positions. */
/* Returns total distinct key positions.
Only to be called if !options[ALLCHARS]. */
int get_max_keysig_size () const;
private:
/* Prints program usage to given stream. */
/* Prints program usage to given stream. */
void short_usage (FILE * stream) const;
/* Prints program usage to given stream. */
/* Prints program usage to given stream. */
void long_usage (FILE * stream) const;
/* Records count of command-line arguments. */

View File

@@ -193,19 +193,21 @@ Options::get_wordlist_name () const
/* Returns the string used to delimit keywords from other attributes. */
INLINE const char *
Options::get_delimiter () const
Options::get_delimiters () const
{
return _delimiters;
}
/* Returns key positions. */
/* Returns key positions.
Only to be called if !options[ALLCHARS]. */
INLINE const Positions&
Options::get_key_positions () const
{
return _key_positions;
}
/* Returns total distinct key positions. */
/* Returns total distinct key positions.
Only to be called if !options[ALLCHARS]. */
INLINE int
Options::get_max_keysig_size () const
{