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

35 Commits

Author SHA1 Message Date
Bruno Haible
8d68fff1c7 Avoid "gcc -Wmissing-field-initializers" warnings on the generated code.
* src/options.h (Options::has_initializer_suffix): New declaration.
* src/options.cc (Options::has_initializer_suffix): New function.
* src/output.cc (Output::output_keyword_table): If option -t is
specified and option -F is not specified, emit '#pragma GCC diagnostic'
lines, to silence -Wmissing-field-initializers warnings from gcc or
clang.
* tests/charsets.exp: Update.
* tests/gpc.exp: Likewise.
* tests/incomplete.exp: Likewise.
* tests/languages.exp: Likewise.
* tests/objc.exp: Likewise.
* tests/test-4.exp: Likewise.
2023-09-05 21:20:51 +02:00
Bruno Haible
b3c3566855 Prefer https URLs where possible. 2018-09-17 16:53:00 +02:00
Bruno Haible
5ac5f15a74 New option --constants-prefix. 2011-01-16 16:45:09 +01:00
Bruno Haible
f6c3e9a753 Change source code license to GPLv3+. 2008-08-23 18:52:48 +00:00
Bruno Haible
61ba5cd46a Update FSF postal address. 2005-05-14 14:22:35 +00:00
Bruno Haible
e5f2f1dc44 Add a length-table-name option and declaration. 2004-08-22 15:52:15 +00:00
Bruno Haible
ff0be60810 New declaration "%define initializer-suffix". 2003-04-30 10:36:10 +00:00
Bruno Haible
b49d12d984 Improve option --pic. New options --string-pool-name, --null-strings. 2003-04-16 10:07:23 +00:00
Bruno Haible
2535f34494 Move the handling of ALLCHARS (-k'*') into the Positions class. 2003-04-07 09:50:11 +00:00
Bruno Haible
68f03b3ea7 Cleanup options.
Improve usage message.
Improve output of options like --key-positions=1,2,$.
2003-04-03 10:16:13 +00:00
Bruno Haible
7dfd32b736 New option --ignore-case. 2003-04-02 09:26:05 +00:00
Bruno Haible
e66e3563dd New option for position-independent code. 2003-03-29 00:58:07 +00:00
Bruno Haible
6d268d095b Completely new asso_values search algorithm. 2003-03-18 10:22:37 +00:00
Bruno Haible
7a8b43182a Optimized choice during collision resolution. 2003-03-14 11:01:01 +00:00
Bruno Haible
6ba5486229 Make the option -s easier to use. 2003-03-10 15:01:00 +00:00
Bruno Haible
ee135115f5 Move positions handling to its own file. 2003-02-13 12:11:01 +00:00
Bruno Haible
810fef43ae When the option -k is not given, the default key positions are now computed
depending on the set of keywords.
2003-02-11 11:09:27 +00:00
Bruno Haible
6202aaadb1 Implement % declarations. 2003-02-10 14:21:58 +00:00
Bruno Haible
f54d310530 New option --output-file. 2003-01-28 12:18:10 +00:00
Bruno Haible
d3a9c2f7ad Open the input file in main.cc, not in class Options. 2003-01-21 12:00:44 +00:00
Bruno Haible
c3467c5302 New option --multiple-iterations. 2003-01-15 13:01:25 +00:00
Bruno Haible
5090f380e3 Rework positions handling. 2002-12-09 12:35:55 +00:00
Bruno Haible
d776b8df65 delimiter -> delimiters. 2002-12-06 16:46:14 +00:00
Bruno Haible
122b13cc95 Update copyright notice to GPL v2. 2002-11-25 13:05:18 +00:00
Bruno Haible
2cd11405ed Start using bool. 2002-11-19 12:55:48 +00:00
Bruno Haible
4cda19576b Align all member declarations. 2002-11-18 12:52:33 +00:00
Bruno Haible
c8f007fe8b Rework the options handling. 2002-11-13 18:18:48 +00:00
Bruno Haible
08f819d0df Remove unused methods. 2002-11-11 13:23:02 +00:00
Bruno Haible
34da28c8ab Prefix all field names with _. 2002-11-09 01:12:49 +00:00
Bruno Haible
643c2cab82 Simplify function declarations. 2002-11-08 13:47:23 +00:00
Bruno Haible
00c5953c20 Use the standard 'new' operator. 2002-10-31 12:30:27 +00:00
Bruno Haible
74672acb3e Don't assume a huge stack. 2002-10-18 11:47:02 +00:00
Bruno Haible
94f436fe9d Remove trace facility. Use a debugger instead. 2002-10-15 14:25:50 +00:00
Bruno Haible
891da43ca2 Add option "-F", initializer suffix, to avoid warnings in gcc. 2000-08-19 08:47:58 +00:00
Bruno Haible
501ee3e640 Initial revision 2000-08-19 06:20:11 +00:00