summaryrefslogtreecommitdiff
path: root/src/syntax.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1999-12-15 00:20:44 +0000
committerKenichi Handa <handa@m17n.org>1999-12-15 00:20:44 +0000
commitaa9b6dd66b99ae283e373fe72e6dc006c1509541 (patch)
treed2798d04b0a65b71bccb66e234fbe6b3c764f0f3 /src/syntax.h
parentdaaa6ed868b751a019395c7233c9649e099cca85 (diff)
downloademacs-aa9b6dd66b99ae283e373fe72e6dc006c1509541.tar.gz
(SYNTAX_ENTRY_INT): Delete codes for a composite
character.
Diffstat (limited to 'src/syntax.h')
-rw-r--r--src/syntax.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/syntax.h b/src/syntax.h
index c2c3a0896d0..5036c4a2a16 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -105,14 +105,12 @@ extern Lisp_Object syntax_parent_lookup P_ ((Lisp_Object, int));
# define CURRENT_SYNTAX_TABLE current_buffer->syntax_table
#endif
-#define SYNTAX_ENTRY_INT(c) \
- ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \
- ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \
- (unsigned char) (c)) \
- : Faref (CURRENT_SYNTAX_TABLE, \
- make_number (COMPOSITE_CHAR_P (c) \
- ? cmpchar_component ((c), 0, 1) \
- : (c))))
+#define SYNTAX_ENTRY_INT(c) \
+ ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \
+ ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \
+ (unsigned char) (c)) \
+ : Faref (CURRENT_SYNTAX_TABLE, \
+ make_number (c)))
/* Extract the information from the entry for character C
in the current syntax table. */