Mercurial > emacs
comparison src/syntax.h @ 26870:9ecd0716cf8a
(SYNTAX_ENTRY_INT): Delete codes for a composite
character.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Wed, 15 Dec 1999 00:20:44 +0000 |
| parents | 69c2d34eb25c |
| children | b945bdff4f96 |
comparison
equal
deleted
inserted
replaced
| 26869:cb8fbc50812f | 26870:9ecd0716cf8a |
|---|---|
| 103 #else | 103 #else |
| 104 # define SYNTAX_ENTRY SYNTAX_ENTRY_INT | 104 # define SYNTAX_ENTRY SYNTAX_ENTRY_INT |
| 105 # define CURRENT_SYNTAX_TABLE current_buffer->syntax_table | 105 # define CURRENT_SYNTAX_TABLE current_buffer->syntax_table |
| 106 #endif | 106 #endif |
| 107 | 107 |
| 108 #define SYNTAX_ENTRY_INT(c) \ | 108 #define SYNTAX_ENTRY_INT(c) \ |
| 109 ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \ | 109 ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \ |
| 110 ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \ | 110 ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \ |
| 111 (unsigned char) (c)) \ | 111 (unsigned char) (c)) \ |
| 112 : Faref (CURRENT_SYNTAX_TABLE, \ | 112 : Faref (CURRENT_SYNTAX_TABLE, \ |
| 113 make_number (COMPOSITE_CHAR_P (c) \ | 113 make_number (c))) |
| 114 ? cmpchar_component ((c), 0, 1) \ | |
| 115 : (c)))) | |
| 116 | 114 |
| 117 /* Extract the information from the entry for character C | 115 /* Extract the information from the entry for character C |
| 118 in the current syntax table. */ | 116 in the current syntax table. */ |
| 119 | 117 |
| 120 #ifdef __GNUC__ | 118 #ifdef __GNUC__ |
