src/codegen-proto.lisp (definst): Indent `dolist' form correctly.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 26 Jul 2020 00:44:11 +0000 (01:44 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 4 Jun 2021 18:58:58 +0000 (19:58 +0100)
Not really sure how this ended up wrong.  Oh, well.

src/codegen-proto.lisp

index 65f4745..3f479b5 100644 (file)
                     (lbuild-add bvl full)
                     (lbuild-add public public-name)
                     (lbuild-add private private-name))))
-       (dolist (arg args)
-         (cond ((or (eq arg '&optional)
-                    (eq arg '&rest)
-                    (eq arg '&key)
-                    (eq arg '&aux))
-                (setf state arg)
-                (lbuild-add bvl arg))
-               ((eq arg '&allow-other-keys)
-                (lbuild-add bvl arg))
-               ((or (eq state :mandatory)
-                    (eq state '&rest))
-                (hack-arg arg '()))
-               ((or (eq state '&optional)
-                    (eq state '&aux))
-                (hack-arg arg '(0)))
-               ((eq state '&key)
-                (hack-arg arg '(0 1)))
-               (t
-                (error "Confusion in ~S!" 'definst)))))
+         (dolist (arg args)
+           (cond ((or (eq arg '&optional)
+                      (eq arg '&rest)
+                      (eq arg '&key)
+                      (eq arg '&aux))
+                  (setf state arg)
+                  (lbuild-add bvl arg))
+                 ((eq arg '&allow-other-keys)
+                  (lbuild-add bvl arg))
+                 ((or (eq state :mandatory)
+                      (eq state '&rest))
+                  (hack-arg arg '()))
+                 ((or (eq state '&optional)
+                      (eq state '&aux))
+                  (hack-arg arg '(0)))
+                 ((eq state '&key)
+                  (hack-arg arg '(0 1)))
+                 (t
+                  (error "Confusion in ~S!" 'definst)))))
        (values (lbuild-list bvl)
                (lbuild-list public)
                (lbuild-list private)))