[slime-cvs] CVS slime

heller heller at common-lisp.net
Wed Sep 5 12:04:46 UTC 2007


Update of /project/slime/cvsroot/slime
In directory clnet:/tmp/cvs-serv1624

Modified Files:
	swank-cmucl.lisp 
Log Message:
(toggle-trace): Add a comment about not working :flet.


--- /project/slime/cvsroot/slime/swank-cmucl.lisp	2007/08/30 23:20:31	1.173
+++ /project/slime/cvsroot/slime/swank-cmucl.lisp	2007/09/05 12:04:43	1.174
@@ -2228,7 +2228,10 @@
     ((:call)
      (destructuring-bind (caller callee) (cdr spec)
        (toggle-trace-aux (process-fspec callee) 
-                         :wherein (list (process-fspec caller)))))))
+                         :wherein (list (process-fspec caller)))))
+    ;; doesn't work properly
+    ;; ((:labels :flet) (toggle-trace-aux (process-fspec spec)))
+    ))
 
 (defun process-fspec (fspec)
   (cond ((consp fspec)
@@ -2236,9 +2239,8 @@
            ((:defun :defgeneric) (second fspec))
            ((:defmethod) 
             `(method ,(second fspec) ,@(third fspec) ,(fourth fspec)))
-           ;; this isn't actually supported
-           ((:labels) `(labels ,(process-fspec (second fspec)) ,(third fspec)))
-           ((:flet) `(flet ,(process-fspec (second fspec)) ,(third fspec)))))
+           ((:labels) `(labels ,(third fspec) ,(process-fspec (second fspec))))
+           ((:flet) `(flet ,(third fspec) ,(process-fspec (second fspec))))))
         (t
          fspec)))
 




More information about the slime-cvs mailing list