1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00

* chartab.c (ASET_RANGE, GET_SUB_CHAR_TABLE): Remove unused macros.

This commit is contained in:
Paul Eggert 2011-03-08 00:13:36 -08:00
parent 5c156ace08
commit bbcd0949d9
2 changed files with 1 additions and 14 deletions

View file

@ -76,6 +76,7 @@
elsewhere.
(sub_char_table_ref_and_range, char_table_ref_and_range):
Rename locals to avoid shadowing.
(ASET_RANGE, GET_SUB_CHAR_TABLE): Remove unused macros.
2011-03-06 Chong Yidong <cyd@stupidchicken.com>

View file

@ -331,20 +331,6 @@ char_table_ref_and_range (Lisp_Object table, int c, int *from, int *to)
}
#define ASET_RANGE(ARRAY, FROM, TO, LIMIT, VAL) \
do { \
int limit = (TO) < (LIMIT) ? (TO) : (LIMIT); \
for (; (FROM) < limit; (FROM)++) (ARRAY)->contents[(FROM)] = (VAL); \
} while (0)
#define GET_SUB_CHAR_TABLE(TABLE, SUBTABLE, IDX, DEPTH, MIN_CHAR) \
do { \
(SUBTABLE) = (TABLE)->contents[(IDX)]; \
if (!SUB_CHAR_TABLE_P (SUBTABLE)) \
(SUBTABLE) = make_sub_char_table ((DEPTH), (MIN_CHAR), (SUBTABLE)); \
} while (0)
static void
sub_char_table_set (Lisp_Object table, int c, Lisp_Object val)
{