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 /ChangeLog | |
parent | 61edba6dde5d161de4b05695097d48857319408d (diff) | |
download | gperf-5ac5f15a74858f03b2f987a785ae2c9d10b6a28c.tar.gz |
New option --constants-prefix.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -1,5 +1,30 @@ 2011-01-11 Bruno Haible <bruno@clisp.org> + New option --constants-prefix. + * src/options.h (Options): Add member functions get_constants_prefix, + set_constants_prefix. Add member _constants_prefix. + * src/options.icc (Options::get_constants_prefix): New functions. + * src/options.cc (DEFAULT_CONSTANTS_PREFIX): New constant. + (Options::long_usage): Document --constants-prefix option. + (Options::Options): Initialize _constants_prefix member. + (Options::set_constants_prefix): New function. + (long_options): Add --constants-prefix option. + (Options::parse_options): Handle --constants-prefix option. + * src/input.cc (Input::read_input): Handle %define constants-prefix + declaration. + * src/output.cc (output_constant): New function. + (Output::output_constants): Invoke it. + (Output::output_lookup_function_body): Prefix each reference to a + constant with the constants prefix. + * doc/gperf.texi: Bump copyright year. + (Gperf Declarations): Document %define constants-prefix. + (Controlling Identifiers): New section. + (Output Details): Document --constants-prefix option. + * NEWS: Mention the changes. + Reported by Julian Zubek <zubekj@gmail.com>. + +2011-01-11 Bruno Haible <bruno@clisp.org> + * configure: Regenerated with autoconf-2.68. * doc/configure: Likewise. * lib/configure: Likewise. |