# HG changeset patch # User Richard M. Stallman # Date 814941488 0 # Node ID 94a4b6e9d3104dacc2bcb8c07d0fa7faa7f4b4f2 # Parent 877d62af45a9f2c9d9b58c394759e7138c05ae88 (SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH): Fix the non-GCC definitions. diff -r 877d62af45a9 -r 94a4b6e9d310 src/syntax.h --- a/src/syntax.h Sat Oct 28 16:21:33 1995 +0000 +++ b/src/syntax.h Sun Oct 29 04:38:08 1995 +0000 @@ -122,25 +122,22 @@ : 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: