summaryrefslogtreecommitdiff
path: root/src/syntax.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-29 04:38:08 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-29 04:38:08 +0000
commita90eb05fe3a4b3f283b87982f7c36c80470abcb5 (patch)
treeb9cf7700fd5f6d03a1b3bc26e7c17de08c04a9fc /src/syntax.h
parent7ce2abcfda334cde6a0762b51e43424d624676cf (diff)
downloademacs-a90eb05fe3a4b3f283b87982f7c36c80470abcb5.tar.gz
(SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): Fix the non-GCC definitions.
Diffstat (limited to 'src/syntax.h')
-rw-r--r--src/syntax.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/syntax.h b/src/syntax.h
index 69a73c2fe9f..07e0a6ca675 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -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: