mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +00:00
New declaration "%define initializer-suffix".
This commit is contained in:
@@ -593,7 +593,7 @@ Options::set_function_name (const char *name)
|
||||
_function_name = name;
|
||||
}
|
||||
|
||||
/* Set the keyword key name, if not already set. */
|
||||
/* Sets the keyword key name, if not already set. */
|
||||
void
|
||||
Options::set_slot_name (const char *name)
|
||||
{
|
||||
@@ -601,6 +601,14 @@ Options::set_slot_name (const char *name)
|
||||
_slot_name = name;
|
||||
}
|
||||
|
||||
/* Sets the struct initializer suffix, if not already set. */
|
||||
void
|
||||
Options::set_initializer_suffix (const char *initializers)
|
||||
{
|
||||
if (_initializer_suffix == DEFAULT_INITIALIZER_SUFFIX)
|
||||
_initializer_suffix = initializers;
|
||||
}
|
||||
|
||||
/* Sets the generated class name, if not already set. */
|
||||
void
|
||||
Options::set_class_name (const char *name)
|
||||
|
||||
Reference in New Issue
Block a user