Correct order of clauses for exec_if
This commit is contained in:
parent
97de757f57
commit
0482ccccf5
@ -124,7 +124,7 @@
|
|||||||
:exec_if
|
:exec_if
|
||||||
^{:stacks #{:boolean :exec}}
|
^{:stacks #{:boolean :exec}}
|
||||||
(fn [state]
|
(fn [state]
|
||||||
(make-instruction state #(if %1 %3 %2) [:boolean :exec :exec] :exec)))
|
(make-instruction state #(if %1 %2 %3) [:boolean :exec :exec] :exec)))
|
||||||
|
|
||||||
;; If the top BOOLEAN is TRUE, leaves the first item on the EXEC stack to be
|
;; If the top BOOLEAN is TRUE, leaves the first item on the EXEC stack to be
|
||||||
;; executed. Otherwise, it removes it. Acts as a NOOP unless there is at least
|
;; executed. Otherwise, it removes it. Acts as a NOOP unless there is at least
|
||||||
|
Loading…
x
Reference in New Issue
Block a user