diff options
Diffstat (limited to 'src/util.lisp')
-rw-r--r-- | src/util.lisp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util.lisp b/src/util.lisp index 903c330..2d35e0c 100644 --- a/src/util.lisp +++ b/src/util.lisp @@ -79,6 +79,11 @@ supported." ,@(and docstring `(,docstring)) (error ',name :format-control message :format-arguments args)))) +(defun strip-declarations (forms) + (loop while (and (listp (car forms)) (eq 'declare (caar forms))) + do (pop forms) + finally (return forms))) + ;;;; Version numbers |