From: Paul Eggert Date: Sun, 21 Jan 2024 00:52:31 +0000 (-0800) Subject: Omit some parens X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=89dec095a5a17ea16e4fca601a0f5398fecb50d5;p=emacs.git Omit some parens * src/lisp.h (XBARE_SYMBOL, XSYMBOL): Omit parentheses that are no longer needed now that we have symbols with positions and these symbols are never macros. (cherry picked from commit 0a47a5a4bef0a33c012302346685ecab861cc306) --- diff --git a/src/lisp.h b/src/lisp.h index d9448f476e7..e25d990e1e9 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1145,7 +1145,7 @@ XSYMBOL_WITH_POS (Lisp_Object a) } INLINE struct Lisp_Symbol * ATTRIBUTE_NO_SANITIZE_UNDEFINED -(XBARE_SYMBOL) (Lisp_Object a) +XBARE_SYMBOL (Lisp_Object a) { eassert (BARE_SYMBOL_P (a)); intptr_t i = (intptr_t) XUNTAG (a, Lisp_Symbol, struct Lisp_Symbol); @@ -1154,7 +1154,7 @@ INLINE struct Lisp_Symbol * ATTRIBUTE_NO_SANITIZE_UNDEFINED } INLINE struct Lisp_Symbol * ATTRIBUTE_NO_SANITIZE_UNDEFINED -(XSYMBOL) (Lisp_Object a) +XSYMBOL (Lisp_Object a) { eassert (SYMBOLP ((a))); if (!symbols_with_pos_enabled || BARE_SYMBOL_P (a))