aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2004-05-02 18:46:39 +0000
committerEli Zaretskii2004-05-02 18:46:39 +0000
commit06a18d94f766623262ed025b87097330982dee02 (patch)
treef3637b5cc741174768df6c48af12dd4d9b5f9a68 /src
parent1644f4e408c358484eafdee3b2a62bdb22626952 (diff)
downloademacs-06a18d94f766623262ed025b87097330982dee02.tar.gz
emacs-06a18d94f766623262ed025b87097330982dee02.zip
(SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid
compiler warnings.
Diffstat (limited to 'src')
-rw-r--r--src/syntax.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.h b/src/syntax.h
index b275ded5715..f86ab8fc265 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -58,7 +58,7 @@ enum syntaxcode
58/* Set the syntax entry VAL for char C in table TABLE. */ 58/* Set the syntax entry VAL for char C in table TABLE. */
59 59
60#define SET_RAW_SYNTAX_ENTRY(table, c, val) \ 60#define SET_RAW_SYNTAX_ENTRY(table, c, val) \
61 ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \ 61 ((((c) & 0xFF) == (c)) \
62 ? (XCHAR_TABLE (table)->contents[(unsigned char) (c)] = (val)) \ 62 ? (XCHAR_TABLE (table)->contents[(unsigned char) (c)] = (val)) \
63 : Faset ((table), make_number (c), (val))) 63 : Faset ((table), make_number (c), (val)))
64 64
@@ -106,7 +106,7 @@ extern Lisp_Object syntax_parent_lookup P_ ((Lisp_Object, int));
106#endif 106#endif
107 107
108#define SYNTAX_ENTRY_INT(c) \ 108#define SYNTAX_ENTRY_INT(c) \
109 ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \ 109 ((((c) & 0xFF) == (c)) \
110 ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \ 110 ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \
111 (unsigned char) (c)) \ 111 (unsigned char) (c)) \
112 : Faref (CURRENT_SYNTAX_TABLE, \ 112 : Faref (CURRENT_SYNTAX_TABLE, \