unictype/property-byname: Reduce the size of the 'data' segment.
authorBruno Haible <bruno@clisp.org>
Sat, 19 Feb 2011 16:12:43 +0000 (17:12 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 19 Feb 2011 16:12:43 +0000 (17:12 +0100)
* lib/unictype/pr_byname.gperf: Add gperf option '%pic'.

ChangeLog
lib/unictype/pr_byname.gperf

index ba8c88a..d6fd3c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-02-19  Bruno Haible  <bruno@clisp.org>
 
+       unictype/property-byname: Reduce the size of the 'data' segment.
+       * lib/unictype/pr_byname.gperf: Add gperf option '%pic'.
+
+2011-02-19  Bruno Haible  <bruno@clisp.org>
+
        unictype/scripts: Reduce the size of the 'data' segment.
        * lib/gen-uni-tables.c (output_scripts_byname): Emit gperf option
        '%pic'.
index 79de6e8..c6b5a5d 100644 (file)
@@ -1,4 +1,4 @@
-struct named_property { const char *name; uc_property_t property; };
+struct named_property { int name; uc_property_t property; };
 %struct-type
 %language=ANSI-C
 %define hash-function-name properties_hash
@@ -7,6 +7,8 @@ struct named_property { const char *name; uc_property_t property; };
 %readonly-tables
 %global-table
 %define word-array-name properties
+%pic
+%define string-pool-name properties_stringpool
 %%
 white_space, { &uc_is_property_white_space }
 alphabetic, { &uc_is_property_alphabetic }