]> git.eshelyaron.com Git - emacs.git/commitdiff
(SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): Fix the non-GCC definitions.
authorRichard M. Stallman <rms@gnu.org>
Sun, 29 Oct 1995 04:38:08 +0000 (04:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 29 Oct 1995 04:38:08 +0000 (04:38 +0000)
src/syntax.h

index 69a73c2fe9ff21f86efaae01655fb14751744827..07e0a6ca6759061ab0dc99151c96464a7145d2ae 100644 (file)
@@ -122,25 +122,22 @@ extern Lisp_Object syntax_parent_lookup ();
     : syntax_temp))
 
 #define SYNTAX(c)                                                      \
-  (syntax_temp                                                         \
-     = SYNTAX_ENTRY (current_buffer->syntax_table, (c)),               \
+  (syntax_temp = SYNTAX_ENTRY ((c)),                                   \
    (CONSP (syntax_temp)                                                        \
     ? (enum syntaxcode) (XINT (XCONS (syntax_temp)->car) & 0xff)       \
-    : wrong_type_argument (Qconsp, syntax_temp)) })
+    : wrong_type_argument (Qconsp, syntax_temp)))
 
 #define SYNTAX_WITH_FLAGS(c)                                           \
-  (syntax_temp                                                         \
-     = SYNTAX_ENTRY (current_buffer->syntax_table, (c)),               \
+  (syntax_temp = SYNTAX_ENTRY ((c)),                                   \
    (CONSP (syntax_temp)                                                        \
     ? XINT (XCONS (syntax_temp)->car)                                  \
-    : wrong_type_argument (Qconsp, syntax_temp)) })
+    : wrong_type_argument (Qconsp, syntax_temp)))
 
 #define SYNTAX_MATCH(c)                                                        \
-  (syntax_temp                                                         \
-     = SYNTAX_ENTRY (current_buffer->syntax_table, (c)),               \
+  (syntax_temp = SYNTAX_ENTRY ((c)),                                   \
    (CONSP (syntax_temp)                                                        \
     ? XINT (XCONS (syntax_temp)->cdr)                                  \
-    : wrong_type_argument (Qconsp, syntax_temp)) })
+    : wrong_type_argument (Qconsp, syntax_temp)))
 #endif
 
 /* Then there are six single-bit flags that have the following meanings: