Skip to content

Commit

Permalink
Fix the use of native Lisp symbols as Treep symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiostalla committed Mar 16, 2024
1 parent 3cc29da commit e7eb13a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/level0/forms.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@
(declare (ignore initargs))
(find-class 'effective-form-slot-definition))

(defconstant +symbol-form+ (intern "form" +symbol-treep+))
(defconstant +symbol-form-parent+ (intern "parent" +symbol-form+))
;; These ought to be constant but SBCL complains about redefinition because they're not identical between compile-time and load-time
(defvar +symbol-form+ (intern "form" +symbol-treep+))
(defvar +symbol-form-parent+ (intern "parent" +symbol-form+))

(defclass form ()
((parent :accessor form-parent))
Expand Down

0 comments on commit e7eb13a

Please sign in to comment.