diff src/syntax.h @ 5725:45d91f2b3810

(SYNTAX_MATCH, SYNTAX): Fix non-GNUC definitions.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Feb 1994 18:24:12 +0000
parents 0af9674da850
children cd81dba38a49
line wrap: on
line diff
--- a/src/syntax.h	Tue Feb 01 18:21:00 1994 +0000
+++ b/src/syntax.h	Tue Feb 01 18:24:12 1994 +0000
@@ -64,7 +64,7 @@
 #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 @@
 #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: