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

57 Commits

Author SHA1 Message Date
Michael Drake
96ebd0b95d Honor --readonly-tables when outputting table for --ignore-case.
* src/output.cc (output_upperlower_table): Add 'const' when suitable.
2021-06-06 11:23:17 +02:00
Bruno Haible
b3c3566855 Prefer https URLs where possible. 2018-09-17 16:53:00 +02:00
Bruno Haible
50840436d5 Avoid "implicit fallthrough" warnings also from clang. 2018-09-09 01:14:20 +02:00
Bruno Haible
5f4cf73df2 Don't print uninitialized hash values in debug mode. 2018-09-08 16:37:56 +02:00
Bruno Haible
a720310c28 Correct width of columns when outputting the asso_values array.
Patch by Frank Wojcik <frankw@touristinresidence.com>.

* src/output.cc (Output::output_hash_function): Increase the
field_width by 1 if _max_hash_value+1 is a power of 10.
2018-09-08 15:36:36 +02:00
Bruno Haible
0d37a8763d Avoid "implicit fallthrough" warnings in the generated code. 2018-07-26 02:00:39 +02:00
Bruno Haible
a705809f3d Drop the inline specifiers from the generated lookup function. 2016-11-26 18:42:05 +01:00
Bruno Haible
0414be8fff Change mailing list address to <bug-gperf@gnu.org>. 2016-11-26 18:08:57 +01:00
Bruno Haible
d519d1a821 Change the 'len' parameter type to 'size_t'. 2016-11-26 17:54:33 +01:00
Bruno Haible
b468e3aae0 Avoid warning in output code on 64-bit native Windows platforms. 2016-11-26 02:54:25 +01:00
Bruno Haible
baf89d87f0 Don't use 'register' storage-class specifier in C++ output code. 2016-11-26 02:26:31 +01:00
Bruno Haible
658e826478 Avoid 'warning: use of old-style cast' in output code. 2016-11-26 02:25:50 +01:00
Bruno Haible
bbe4d732f3 Avoid 'warning: implicit conversion changes signedness' in output code. 2016-11-26 02:25:44 +01:00
Bruno Haible
b3356507ce Avoid 'warning: implicit conversion changes signedness' in output code. 2016-11-26 01:05:14 +01:00
Bruno Haible
064483191f Fix compilation error with MSVC. 2012-07-01 18:07:20 +02:00
Bruno Haible
5ac5f15a74 New option --constants-prefix. 2011-01-16 16:45:09 +01:00
Bruno Haible
b4eb8c5c5e Avoid g++ warnings. 2009-12-22 11:57:02 +01:00
Bruno Haible
57745086ac Don't include the length in the hash function if all keywords have the same
length.
2009-01-19 09:50:07 +00:00
Bruno Haible
f6c3e9a753 Change source code license to GPLv3+. 2008-08-23 18:52:48 +00:00
Bruno Haible
fc599936bd Change generated code to avoid a warning by GCC 4.2. 2007-09-09 02:05:32 +00:00
Bruno Haible
0e4abdfd81 Change generated code after the meaning of __inline is changed in GCC 4.3. 2007-03-31 15:16:05 +00:00
Bruno Haible
b6e1deb8fc Fix #line directives for filenames containing backslashes. 2006-01-13 13:11:19 +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
c170151d67 Add /*FALLTHROUGH*/ comments to output. 2003-05-01 10:10:08 +00:00
Bruno Haible
16e10a330c Provoke a compilation error if the execution character set doesn't match the
expectations.
2003-04-28 10:08:35 +00:00
Bruno Haible
2598419bcf Speed up the case-insensitive lookups. 2003-04-24 10:47:54 +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
5e30c2698e Omit the multicompare code output if it is not needed. 2003-04-14 10:18:32 +00:00
Bruno Haible
6bbdde4f5f Fix the comparison of the first byte when using gperf_case_strcmp. 2003-04-12 00:41:03 +00:00
Bruno Haible
3bdad49e79 Small simplifications. 2003-04-08 10:55:59 +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
ec3d1127fa Change the positions to be 0-based, instead of 1-based. 2003-04-04 10:04:24 +00:00
Bruno Haible
7dfd32b736 New option --ignore-case. 2003-04-02 09:26:05 +00:00
Bruno Haible
0093e33163 Fill unused asso_values[] entries in search.cc, not in output.cc. 2003-04-01 08:13:30 +00:00
Bruno Haible
e66e3563dd New option for position-independent code. 2003-03-29 00:58:07 +00:00
Bruno Haible
40f37680ac Use 'unsigned int' instead of 'int' where it makes sense. 2003-03-17 09:06:26 +00:00
Bruno Haible
76575063ea Implement backtracking. 2003-02-22 00:19:28 +00:00
Bruno Haible
ec800f65ec Introduce new alpha_inc pass, to avoid artificial duplicates. 2003-02-17 10:36:47 +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
2059095a04 Emit #line directives. 2003-01-24 12:37:00 +00:00
Bruno Haible
83440a2aed Rewrite the input routines. 2003-01-22 12:03:19 +00:00
Bruno Haible
741d34fb07 Use const where possible. 2003-01-13 19:57:56 +00:00
Bruno Haible
3a01fe39b2 Use (unsigned char) cast in all cases. 2003-01-10 12:43:35 +00:00
Bruno Haible
7dbc285db4 More comments, fix last patch. 2003-01-09 13:07:54 +00:00
Bruno Haible
e19dee4b44 Comments. 2003-01-08 12:30:46 +00:00
Bruno Haible
5090f380e3 Rework positions handling. 2002-12-09 12:35:55 +00:00
Bruno Haible
bd03d0bce8 First include is the specification's .h file. 2002-11-29 12:52:54 +00:00
Bruno Haible
c73312f0fd Remove the global vectors. Move them to the class Search. 2002-11-28 12:56:08 +00:00