Skip to content

Commit

Permalink
naming-sbcl: Do not use SB-C::LAMBDA-PARENT
Browse files Browse the repository at this point in the history
The function does not exist in newer SBCL versions. Substitute the
definition of SB-C::LAMBDA-PARENT:

  (defun lambda-parent (lambda)
    (lexenv-lambda (lambda-lexenv lambda)))
  • Loading branch information
scymtym authored and Madhu committed Sep 3, 2024
1 parent b5e396f commit b550c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/naming-sbcl.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ return \(FOOBAR FOO\)"
(loop
with last = nil
as lambda = (sb-c::lexenv-lambda env)
then (sb-c::lambda-parent lambda)
then (sb-c::lexenv-lambda (sb-c::lambda-lexenv lambda))
while lambda
as debug-name = (include-block-debug-name? (sb-c::leaf-debug-name lambda))
if (and debug-name (not (eq last debug-name)))
Expand Down

0 comments on commit b550c1a

Please sign in to comment.