Skip to content

Commit

Permalink
fixed generation for nested if/else-s
Browse files Browse the repository at this point in the history
  • Loading branch information
mishoo committed Feb 10, 2011
1 parent feafe0e commit 53fe06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen.lisp
Expand Up @@ -158,7 +158,7 @@ characters in string S to STREAM."
(:if (if (not (fourth b))
;; no else for this IF, we need the block
(return (gencode `(:block (,th))))
(return (gencode th))))
(setf b (fourth b))))
((:while :do) (setf b (third b)))
((:for :for-in) (setf b (fifth b)))
(t (return (gencode th)))))))
Expand Down

0 comments on commit 53fe06e

Please sign in to comment.