changeset 5279:d0bc331e433f

Turns out #elsif is not valid preprocessor syntax, who knew! src/ChangeLog addition: 2010-09-18 Aidan Kehoe <kehoea@parhasard.net> * lisp.h (PARSE_KEYWORDS): Turns out #elsif is not valid preprocessor syntax, who knew!
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 18 Sep 2010 18:02:28 +0100
parents d9e65b48e2bf
children 59a6419f7504
files src/ChangeLog src/lisp.h
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Sep 18 16:46:56 2010 +0100
+++ b/src/ChangeLog	Sat Sep 18 18:02:28 2010 +0100
@@ -1,3 +1,8 @@
+2010-09-18  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* lisp.h (PARSE_KEYWORDS):
+	Turns out #elsif is not valid preprocessor syntax, who knew!
+
 2010-09-18  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* lisp.h (PARSE_KEYWORDS):
--- a/src/lisp.h	Sat Sep 18 16:46:56 2010 +0100
+++ b/src/lisp.h	Sat Sep 18 18:02:28 2010 +0100
@@ -3554,19 +3554,21 @@
 				(intern_massaging_name (1 + #function))), \
 			  0);						\
 	assert (0 == strcmp (__func__, #function))
-#elsif defined (NEW_GC)
+#else /* defined (DEBUG_XEMACS) && ... */
+#ifdef NEW_GC
 #define PARSE_KEYWORDS(function, nargs, args, keyword_count, keywords,	\
 		       keyword_defaults)				\
 	PARSE_KEYWORDS_8 (intern (S##function->name), nargs, args,	\
 			  keyword_count, keywords,			\
 			  keyword_defaults, S##function->min_args, 0)
-#else
+#else /* NEW_GC */
 #define PARSE_KEYWORDS(function, nargs, args, keyword_count, keywords,	\
 		       keyword_defaults)				\
 	PARSE_KEYWORDS_8 (intern (S##function.name), nargs, args,	\
 			  keyword_count, keywords,			\
 			  keyword_defaults, S##function.min_args, 0)
-#endif
+#endif /* NEW_GC */
+#endif /* defined (DEBUG_XEMACS) && defined (__STDC_VERSION__) ... */
 
 /* PARSE_KEYWORDS_8 is a more fine-grained version of PARSE_KEYWORDS. The
    differences are as follows: