Mercurial > hg > xemacs-beta
comparison src/lisp.h @ 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 |
comparison
equal
deleted
inserted
replaced
5278:d9e65b48e2bf | 5279:d0bc331e433f |
---|---|
3552 the function may be advised. */ \ | 3552 the function may be advised. */ \ |
3553 XINT (Ffunction_min_args \ | 3553 XINT (Ffunction_min_args \ |
3554 (intern_massaging_name (1 + #function))), \ | 3554 (intern_massaging_name (1 + #function))), \ |
3555 0); \ | 3555 0); \ |
3556 assert (0 == strcmp (__func__, #function)) | 3556 assert (0 == strcmp (__func__, #function)) |
3557 #elsif defined (NEW_GC) | 3557 #else /* defined (DEBUG_XEMACS) && ... */ |
3558 #ifdef NEW_GC | |
3558 #define PARSE_KEYWORDS(function, nargs, args, keyword_count, keywords, \ | 3559 #define PARSE_KEYWORDS(function, nargs, args, keyword_count, keywords, \ |
3559 keyword_defaults) \ | 3560 keyword_defaults) \ |
3560 PARSE_KEYWORDS_8 (intern (S##function->name), nargs, args, \ | 3561 PARSE_KEYWORDS_8 (intern (S##function->name), nargs, args, \ |
3561 keyword_count, keywords, \ | 3562 keyword_count, keywords, \ |
3562 keyword_defaults, S##function->min_args, 0) | 3563 keyword_defaults, S##function->min_args, 0) |
3563 #else | 3564 #else /* NEW_GC */ |
3564 #define PARSE_KEYWORDS(function, nargs, args, keyword_count, keywords, \ | 3565 #define PARSE_KEYWORDS(function, nargs, args, keyword_count, keywords, \ |
3565 keyword_defaults) \ | 3566 keyword_defaults) \ |
3566 PARSE_KEYWORDS_8 (intern (S##function.name), nargs, args, \ | 3567 PARSE_KEYWORDS_8 (intern (S##function.name), nargs, args, \ |
3567 keyword_count, keywords, \ | 3568 keyword_count, keywords, \ |
3568 keyword_defaults, S##function.min_args, 0) | 3569 keyword_defaults, S##function.min_args, 0) |
3569 #endif | 3570 #endif /* NEW_GC */ |
3571 #endif /* defined (DEBUG_XEMACS) && defined (__STDC_VERSION__) ... */ | |
3570 | 3572 |
3571 /* PARSE_KEYWORDS_8 is a more fine-grained version of PARSE_KEYWORDS. The | 3573 /* PARSE_KEYWORDS_8 is a more fine-grained version of PARSE_KEYWORDS. The |
3572 differences are as follows: | 3574 differences are as follows: |
3573 | 3575 |
3574 FUNC_SYM is a symbol reflecting the name of the function for which | 3576 FUNC_SYM is a symbol reflecting the name of the function for which |