* lisp.h (VALMASK) [!USE_LSB_TAG]: Now a macro
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Aug 2012 10:49:19 +0000 (03:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Aug 2012 10:49:19 +0000 (03:49 -0700)
as well as a constant, since it's used in non-static inline functions now.

src/ChangeLog
src/lisp.h

index f65380a..c590e9f 100644 (file)
@@ -30,6 +30,7 @@
        (INLINE_HEADER_END): New macros.
        * lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant,
        since it's used in non-static inline functions now.
+       (VALMASK) [!USE_LSB_TAG]: Likewise.
 
 2012-08-02  Glenn Morris  <rgm@gnu.org>
 
index 1661ac1..4b54af9 100644 (file)
@@ -423,7 +423,9 @@ enum lsb_bits
 
 #else  /* not USE_LSB_TAG */
 
-static EMACS_INT const VALMASK = VAL_MAX;
+static EMACS_INT const VALMASK
+#define VALMASK VAL_MAX
+      = VALMASK;
 
 #define XTYPE(a) ((enum Lisp_Type) ((EMACS_UINT) XLI (a) >> VALBITS))