From 5926ae1f68d85a6805b8887ba09d81cd16fd69c2 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 11 Mar 2021 12:54:44 -0700 Subject: move MACROEXPAND-ALL to utils.lisp Pure code motion. Signed-off-by: Sean Whitton --- src/propspec.lisp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/propspec.lisp') diff --git a/src/propspec.lisp b/src/propspec.lisp index e1ca1cb..4e0dc8e 100644 --- a/src/propspec.lisp +++ b/src/propspec.lisp @@ -124,19 +124,6 @@ FUNCTION designates a pure function from propapps to propapps." env))) env)))) -(defun macroexpand-all (form &optional env) - "Wrap TRIVIAL-MACROEXPAND-ALL:MACROEXPAND-ALL to convert silent failures to -expand into errors." - (multiple-value-bind (expanded supported env-supported) - (trivial-macroexpand-all:macroexpand-all form env) - (cond - ((not supported) - (error "Don't know how to MACROEXPAND-ALL in this Lisp.")) - ((and env (not env-supported)) - (error "Don't know how to MACROEXPAND-ALL with env in this Lisp.")) - (t - expanded)))) - (defun make-propspec (&key (systems nil systems-supplied-p) props) (setq props (copy-tree props)) (labels ((preprocess (item) -- cgit v1.2.3