fixed test case and code

This commit is contained in:
Danny Yoo 2011-02-21 15:50:32 -05:00
parent 6391f614d9
commit 16c5e6a796

View File

@ -25,7 +25,8 @@
(loop (Assign-value exp))] (loop (Assign-value exp))]
[(Def? exp) [(Def? exp)
(loop (Def-value exp))] (cons (Def-variable exp)
(loop (Def-value exp)))]
[(Branch? exp) [(Branch? exp)
(append (loop (Branch-predicate exp)) (append (loop (Branch-predicate exp))