Commit 11257d61 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(RE_TRANSLATE_TYPE): Define as Lisp_Object.

(RE_TRANSLATE): Use Faref to examine translate table.
parent 3e937712
......@@ -347,8 +347,8 @@ Boston, MA 02111-1307, USA. */
#ifdef emacs /* Don't do this for lib-src. */
/* Tell regex.c to use a type compatible with Emacs. */
#define RE_TRANSLATE_TYPE Lisp_Object *
#define RE_TRANSLATE(TBL, C) XINT ((TBL)[C])
#define RE_TRANSLATE_TYPE Lisp_Object
#define RE_TRANSLATE(TBL, C) XINT (Faref (TBL, make_number (C)))
#endif
/* Avoid link-time collision with system mktime if we will use our own. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment