Commit 37cbd146 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(RE_TRANSLATE): Use char_table_translate.

parent 1d969a23
......@@ -348,7 +348,7 @@ 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 (Faref (TBL, make_number (C)))
#define RE_TRANSLATE(TBL, C) char_table_translate (TBL, 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