Commit 8fe48a6f authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(RE_TRANSLATE_P): Don't use XFASTINT blindly.

parent 2ca8b6c2
/* src/config.in. Generated from configure.in by autoheader. */
/* GNU Emacs site configuration template file.
Copyright (C) 1988, 93, 94, 99, 2000, 2002 Free Software Foundation, Inc.
Copyright (C) 1988, 1993, 1994, 1999, 2000, 2002, 2004
Free Software Foundation, Inc.
This file is part of GNU Emacs.
......@@ -968,7 +969,7 @@ Boston, MA 02111-1307, USA. */
/* Tell regex.c to use a type compatible with Emacs. */
#define RE_TRANSLATE_TYPE Lisp_Object
#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
#define RE_TRANSLATE_P(TBL) (XFASTINT (TBL) != 0)
#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
#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