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

New option --constants-prefix.

This commit is contained in:
Bruno Haible
2011-01-16 16:43:45 +01:00
parent 61edba6dde
commit 5ac5f15a74
8 changed files with 189 additions and 26 deletions

View File

@@ -2,7 +2,7 @@
/* Handles parsing the Options provided to the user.
Copyright (C) 1989-1998, 2000, 2002-2004 Free Software Foundation, Inc.
Copyright (C) 1989-1998, 2000, 2002-2004, 2011 Free Software Foundation, Inc.
Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
and Bruno Haible <bruno@clisp.org>.
@@ -202,6 +202,11 @@ public:
/* Sets the string pool name, if not already set. */
void set_stringpool_name (const char *name);
/* Returns the prefix for the constants. */
const char * get_constants_prefix () const;
/* Sets the prefix for the constants, if not already set. */
void set_constants_prefix (const char *prefix);
/* Returns the string used to delimit keywords from other attributes. */
const char * get_delimiters () const;
/* Sets the delimiters string, if not already set. */
@@ -274,6 +279,9 @@ private:
/* Name used for the string pool. */
const char * _stringpool_name;
/* Prefix for the constants. */
const char * _constants_prefix;
/* Separates keywords from other attributes. */
const char * _delimiters;