From 424696dc09a91939c8c5fb66975be0f737fac9aa Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 14 Apr 2016 19:57:38 -0700 Subject: Fix proper-listp to proper-list-p. This is really a gratuitous incompatibility with Common Lisp and other dialects. Let's fix it internally also, but keep the proper-listp function binding for backwards compatibility. * eval.c (dot_to_apply, me_op): Update proper_listp call to proper_list_p. (eval_init): Register proper-list-p to the same C function as proper-listp, and that C function is now called proper_list_p. * lib.c (proper_listp): Renamed to proper_list_p. * lib.h (proper_listp): Declaration updated. * parser.y (define_transform): Update proper_listp call. * txr.1: Replace all occurrences of proper-listp with proper-list-p. Add note explaining the rename situation. --- parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser.y') diff --git a/parser.y b/parser.y index e4a1552e..5b5f7105 100644 --- a/parser.y +++ b/parser.y @@ -1346,7 +1346,7 @@ static val define_transform(parser_t *parser, val define_form) return define_form; } - if (!proper_listp(params)) { + if (!proper_list_p(params)) { yyerr("invalid function parameter list"); return define_form; } -- cgit v1.2.3