changeset 58452:8b0845c0b266

(RE_TRANSLATE_P): Don't use XFASTINT blindly.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 23 Nov 2004 05:20:49 +0000
parents 4fcc66cf0b9c
children 04580c50dd1c
files src/config.in
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/config.in	Tue Nov 23 05:19:17 2004 +0000
+++ b/src/config.in	Tue Nov 23 05:20:49 2004 +0000
@@ -1,7 +1,8 @@
 /* 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 @@
 /* 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.  */