summaryrefslogtreecommitdiff
path: root/src/syntax.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-02-01 18:24:12 +0000
committerRichard M. Stallman <rms@gnu.org>1994-02-01 18:24:12 +0000
commit4feadcc08edcd2819829b005a6e61fec2113fc4c (patch)
treeaa86ce34e80ead7df20a6f812375f2696cc6c3c2 /src/syntax.h
parent5f61736f6513125d647cd4ac2bdac331778a97f1 (diff)
downloademacs-4feadcc08edcd2819829b005a6e61fec2113fc4c.tar.gz
(SYNTAX_MATCH, SYNTAX): Fix non-GNUC definitions.
Diffstat (limited to 'src/syntax.h')
-rw-r--r--src/syntax.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.h b/src/syntax.h
index b3c92ca9979..71f52fc8ada 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -64,7 +64,7 @@ enum syntaxcode
#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 @@ enum syntaxcode
#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: