comparison src/casetab.c @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents 183866b06e0b
children e38acbeb1cae
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with XEmacs; see the file COPYING. If not, write to 18 along with XEmacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */ 20 Boston, MA 02111-1307, USA. */
21 21
22 /* Synched up with: FSF 19.28. Between FSF 19.28 and 19.30, casetab.c 22 /* Synched up with: FSF 19.28. Between FSF 19.28 and 19.30, casetab.c
23 was rewritten to use junky FSF char tables. Meanwhile I rewrote it 23 was rewritten to use junky FSF char tables. Meanwhile I rewrote it
24 to use more logical char tables. RMS also discards the "list of four 24 to use more logical char tables. --ben */
25 tables" format and instead stuffs the other tables as "extra slots"
26 in the downcase table. I've kept the four-lists format for now. */
27 25
28 /* Written by Howard Gayle. See some mythical and not-in-the-Emacs- 26 /* Written by Howard Gayle. See some mythical and not-in-the-Emacs-
29 distribution file chartab.c for details. */ 27 distribution file chartab.c for details. */
30 28
31 /* Modified for Mule by Ben Wing. */ 29 /* Modified for Mule by Ben Wing. */
32 30
33 /* Case table consists of four char-table. Those are for downcase, 31 /* #### Someone (Yoshiki?) wrote the following comment, which I don't
32 understand.
33
34 Case tables consist of four char-tables. These are for downcase,
34 upcase, canonical and equivalent respectively. 35 upcase, canonical and equivalent respectively.
35 36
36 It's entry is like this: 37 The entries are like this:
37 38
38 downcase: a -> a, A -> a. 39 downcase: a -> a, A -> a.
39 upcase: a -> A, A -> a. (The latter is for NOCASEP.) 40 upcase: a -> A, A -> a. (The latter is for NOCASEP.)
40 canon: a -> a, A -> a. 41 canon: a -> a, A -> a.
41 eqv: a -> A, A -> a. 42 eqv: a -> A, A -> a.