]> git.eshelyaron.com Git - emacs.git/commitdiff
(SYNTAX_MATCH, SYNTAX): Fix non-GNUC definitions.
authorRichard M. Stallman <rms@gnu.org>
Tue, 1 Feb 1994 18:24:12 +0000 (18:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 1 Feb 1994 18:24:12 +0000 (18:24 +0000)
src/syntax.h

index b3c92ca9979d13bda66ff9aa9f79ea289ef8ad55..71f52fc8ada1897f76a4d1acab01ff6d95e1d5fc 100644 (file)
@@ -64,7 +64,7 @@ enum syntaxcode
 #define SYNTAX(c)                                              \
  (RAW_SYNTAX (current_buffer->syntax_table, c) == Sinherit     \
   ? RAW_SYNTAX (Vstandard_syntax_table, c)                     \
-  : RAW_SYNTAX (c))
+  : RAW_SYNTAX (current_buffer->syntax_table, c))
 #endif
 
 /* The next 8 bits of the number is a character,
@@ -88,7 +88,7 @@ enum syntaxcode
 #define SYNTAX_MATCH(c)                                                \
  (RAW_SYNTAX (current_buffer->syntax_table, c) == Sinherit     \
   ? RAW_SYNTAX_MATCH (Vstandard_syntax_table, c)                       \
-  : RAW_SYNTAX_MATCH (c))
+  : RAW_SYNTAX_MATCH (current_buffer->syntax_table, c))
 #endif
 
 /* Then there are six single-bit flags that have the following meanings: