mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 02:51:31 -08:00
(SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY): Adjusted for the change of
CHAR_TABLE_ORDINARY_SLOTS.
This commit is contained in:
parent
085d590815
commit
9ca6ab7d30
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ enum syntaxcode
|
|||
/* Set the syntax entry VAL for char C in table TABLE. */
|
||||
|
||||
#define SET_RAW_SYNTAX_ENTRY(table, c, val) \
|
||||
((c) < CHAR_TABLE_ORDINARY_SLOTS \
|
||||
((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \
|
||||
? (XCHAR_TABLE (table)->contents[(unsigned char) (c)] = (val)) \
|
||||
: Faset ((table), make_number (c), (val)))
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ extern Lisp_Object syntax_parent_lookup ();
|
|||
Do Inheritance. */
|
||||
|
||||
#define SYNTAX_ENTRY(c) \
|
||||
((c) < CHAR_TABLE_ORDINARY_SLOTS \
|
||||
((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \
|
||||
? SYNTAX_ENTRY_FOLLOW_PARENT (current_buffer->syntax_table, \
|
||||
(unsigned char) (c)) \
|
||||
: Faref (current_buffer->syntax_table, make_number ((c))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue