diff options
author | Bruno Haible <bruno@clisp.org> | 2011-01-16 16:43:45 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-01-16 16:45:09 +0100 |
commit | 5ac5f15a74858f03b2f987a785ae2c9d10b6a28c (patch) | |
tree | c9b9356ba9fb20c25a19551933cb52ca3b930511 /src/options.h | |
parent | 61edba6dde5d161de4b05695097d48857319408d (diff) | |
download | gperf-5ac5f15a74858f03b2f987a785ae2c9d10b6a28c.tar.gz |
New option --constants-prefix.
Diffstat (limited to 'src/options.h')
-rw-r--r-- | src/options.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/options.h b/src/options.h index be1b29f..2ac53b8 100644 --- a/src/options.h +++ b/src/options.h @@ -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; |