Modifying constructor for stmt-for-decl structures.
(change-stmt-for-decl x [:init <init>] [:test <test>] [:next <next>] [:body <body>])
This is an often useful alternative to make-stmt-for-decl.
We construct a new stmt-for-decl structure that is a copy of
This is an ordinary
Macro:
(defmacro change-stmt-for-decl (x &rest args) (std::change-aggregate 'stmt-for-decl x args '((:init . stmt-for-decl->init) (:test . stmt-for-decl->test) (:next . stmt-for-decl->next) (:body . stmt-for-decl->body)) 'change-stmt-for-decl 'nil))