unicode-internal-commit: couple of very minor things

Ben Wing ben at xemacs.org
Wed Mar 31 00:59:52 EDT 2010


changeset:   5336:fe3685777a89
branch:      ben-unicode-internal
user:        Ben Wing <ben at xemacs.org>
date:        Thu Mar 25 05:18:47 2010 -0500
files:       src/ChangeLog src/chartab.c src/unicode.c
description:
couple of very minor things

-------------------- ChangeLog entries follow: --------------------

src/ChangeLog addition:

2010-03-25  Ben Wing  <ben at xemacs.org>

	* chartab.c: Expand comment at top about recent change involving
	category tables.
	* unicode.c: #ifdnef UNICODE_INTERNAL around a label to avoid a
	"label" unused" warning.


diff -r 291a08dbc0f6 -r fe3685777a89 src/ChangeLog
--- a/src/ChangeLog	Thu Mar 25 00:40:40 2010 -0500
+++ b/src/ChangeLog	Thu Mar 25 05:18:47 2010 -0500
@@ -1,3 +1,10 @@
+2010-03-25  Ben Wing  <ben at xemacs.org>
+
+	* chartab.c: Expand comment at top about recent change involving
+	category tables.
+	* unicode.c: #ifdnef UNICODE_INTERNAL around a label to avoid a
+	"label" unused" warning.
+
 2010-03-25  Ben Wing  <ben at xemacs.org>
 
 	* charset.h:
diff -r 291a08dbc0f6 -r fe3685777a89 src/chartab.c
--- a/src/chartab.c	Thu Mar 25 00:40:40 2010 -0500
+++ b/src/chartab.c	Thu Mar 25 05:18:47 2010 -0500
@@ -39,6 +39,11 @@
              map_char_table() was long and nasty.  The new system uses page
              tables, as in unicode.c.
    Ben Wing: Redo category tables for improved memory usage, March 2010.
+             Change from a system that used 96-bit bit vectors listing the
+             category membership for each character, stored in a generic
+             char table, to a special `category-table' object with 12
+             subtables, each directly storing an 8-bit bit array in place
+             of the Lisp_Object pointer.
  */
 
 #include <config.h>
diff -r 291a08dbc0f6 -r fe3685777a89 src/unicode.c
--- a/src/unicode.c	Thu Mar 25 00:40:40 2010 -0500
+++ b/src/unicode.c	Thu Mar 25 05:18:47 2010 -0500
@@ -2508,7 +2508,9 @@
 			goto out_of_range;
 		    }
 
+#ifndef UNICODE_INTERNAL
 		do_it:
+#endif
 		  if (stage == 0)
 		    {
 		      if (c2 < to_unicode_min_val[c1])



More information about the XEmacs-Patches mailing list