Move NODE-CONDITIONAL definition to proper place
This commit is contained in:
parent
2b94745734
commit
61ea8b3773
2 changed files with 5 additions and 5 deletions
|
@ -81,6 +81,11 @@
|
|||
(print-unreadable-object (object stream :type t :identity t)
|
||||
(format stream "~A~A" (callee object) (arguments object))))
|
||||
|
||||
(defclass node-conditional (node)
|
||||
((%test :accessor test-node :initarg :test)
|
||||
(%then :accessor then-node :initarg :then)
|
||||
(%else :accessor else-node :initarg :else :initform nil)))
|
||||
|
||||
(defclass node-branch (node)
|
||||
((%branch-next :accessor branch-next :initarg :branch-next)))
|
||||
|
||||
|
|
|
@ -270,11 +270,6 @@ parser's debug output.")
|
|||
:stop-ref (transform n 'reference)
|
||||
:loopee-node (transform code 'node)))
|
||||
|
||||
(defclass node-conditional (node)
|
||||
((%test :accessor test-node :initarg :test)
|
||||
(%then :accessor then-node :initarg :then)
|
||||
(%else :accessor else-node :initarg :else :initform nil)))
|
||||
|
||||
(defmethod node-nexts ((node node-conditional))
|
||||
(append (list (test-node node) (then-node node))
|
||||
(unless (null (else-node node))
|
||||
|
|
Loading…
Add table
Reference in a new issue