changeset 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 02a4aeb69cae
children 781af712e68c
files src/syntax.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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: