diff options
| author | Eli Zaretskii | 2004-05-02 18:46:39 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2004-05-02 18:46:39 +0000 |
| commit | 06a18d94f766623262ed025b87097330982dee02 (patch) | |
| tree | f3637b5cc741174768df6c48af12dd4d9b5f9a68 /src/syntax.h | |
| parent | 1644f4e408c358484eafdee3b2a62bdb22626952 (diff) | |
| download | emacs-06a18d94f766623262ed025b87097330982dee02.tar.gz emacs-06a18d94f766623262ed025b87097330982dee02.zip | |
(SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid
compiler warnings.
Diffstat (limited to 'src/syntax.h')
| -rw-r--r-- | src/syntax.h | 4 |
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, \ |