Skip to content

Commit

Permalink
Fix handling of 'dynamic-extent' declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
slburson committed May 23, 2024
1 parent fbc4a3f commit 1e89245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/new-let.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@
;;; package. This can be done by including the following option clause in
;;; your DEFPACKAGE form:
;;;
;;; (:shadowing-import-from "NEW-LET" "LET" "COND")
;;; (:shadowing-import-from :new-let #:let #:cond)
;;;
;;; If for some reason you don't want to shadow these, you can access this
;;; version of LET as NLET, and this version of COND as BCOND (the "B" is
;;; for "binding"), by using the following DEFPACKAGE option instead:
;;;
;;; (:import-from "NEW-LET" "NLET" "BCOND")
;;; (:import-from :new-let #:nlet #:bcond)
;;;
;;; Enjoy!
;;; Scott L. Burson 2/18/2005
Expand Down Expand Up @@ -240,7 +240,7 @@ second value is `body' with the declarations stripped off."
(process-vars (cdr decl) (list 'type (car decl)) bd-alist free vars))
((eq (car decl) 'type)
(process-vars (cddr decl) (list 'type (cadr decl)) bd-alist free vars))
((eq (car decl) 'special)
((member (car decl) '(special dynamic-extent))
(process-vars (cdr decl) (list (car decl)) bd-alist free vars))
(t (values bd-alist (cons decl free)))))
(process-vars (decl-vars decl-specs bd-alist free vars)
Expand Down

0 comments on commit 1e89245

Please sign in to comment.