aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.h
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-04 20:44:52 +0000
committerRichard M. Stallman1997-07-04 20:44:52 +0000
commit2e34157cd9e74150e79e0ce23236252b47fb5f1a (patch)
tree418451da8380ec73d5d46dc648c07e6ad8af845f /src/syntax.h
parent8c239ac3ed4f636810bc08959e1318b1a6e928ba (diff)
downloademacs-2e34157cd9e74150e79e0ce23236252b47fb5f1a.tar.gz
emacs-2e34157cd9e74150e79e0ce23236252b47fb5f1a.zip
Fix bugs with inappropriate mixing of Lisp_Object with int.
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 61cb4fa9668..bcd90562d29 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -134,7 +134,7 @@ extern Lisp_Object syntax_parent_lookup ();
134 ({ Lisp_Object temp; \ 134 ({ Lisp_Object temp; \
135 temp = SYNTAX_ENTRY (c); \ 135 temp = SYNTAX_ENTRY (c); \
136 (CONSP (temp) \ 136 (CONSP (temp) \
137 ? XINT (XCONS (temp)->cdr) \ 137 ? XCONS (temp)->cdr \
138 : Qnil); }) 138 : Qnil); })
139#else 139#else
140#define SYNTAX(c) \ 140#define SYNTAX(c) \
@@ -152,7 +152,7 @@ extern Lisp_Object syntax_parent_lookup ();
152#define SYNTAX_MATCH(c) \ 152#define SYNTAX_MATCH(c) \
153 (syntax_temp = SYNTAX_ENTRY ((c)), \ 153 (syntax_temp = SYNTAX_ENTRY ((c)), \
154 (CONSP (syntax_temp) \ 154 (CONSP (syntax_temp) \
155 ? XINT (XCONS (syntax_temp)->cdr) \ 155 ? XCONS (syntax_temp)->cdr \
156 : Qnil)) 156 : Qnil))
157#endif 157#endif
158 158