>From 8d66122d4ec5af1486e39baf42b5c705df1e50ba Mon Sep 17 00:00:00 2001 From: Evan Hanson Date: Wed, 14 Mar 2018 17:51:50 +1300 Subject: [PATCH 2/3] Use "rest" as the rest argument variable name in DSSSL procedures This just changes the variable name used for rest arguments in DSSSL procedures from "tmp" to "rest", which is ever-so-slightly more intuitive when inspecting the procedure's resulting lambda-info. --- expand.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expand.scm b/expand.scm index 18237e54..fad7e7cb 100644 --- a/expand.scm +++ b/expand.scm @@ -403,7 +403,7 @@ (r (cdr llist))) (case x [(#!optional) - (unless rvar (set! rvar (macro-alias 'tmp se))) + (unless rvar (set! rvar (macro-alias 'rest se))) (if (eq? mode 0) (loop 1 req '() '() r) (err "`#!optional' argument marker in wrong context") ) ] @@ -417,7 +417,7 @@ (err "invalid syntax of `#!rest' argument") ) (err "`#!rest' argument marker in wrong context") ) ] [(#!key) - (if (not rvar) (set! rvar (macro-alias 'tmp se))) + (if (not rvar) (set! rvar (macro-alias 'rest se))) (if (fx<= mode 2) (loop 3 req opt '() r) (err "`#!key' argument marker in wrong context") ) ] -- 2.11.0