Closed kiselgra closed 7 years ago
When generating decl forms we might have conditional declarations such as
decl
(defmacro my-decls (decls &body body) (decl ,(loop for d in decls collect (if (keep d) d))))
This works fine, but for the filtered-out declarations a superflous line containing a ';' appears.
This is more easily reproduced by
(decl ((int x) nil (int y))
,(remove nil (loop ... )) usually solves that
,(remove nil (loop ... ))
Could have thought of that, sorry.
But thanks for the fix :)
When generating
decl
forms we might have conditional declarations such asThis works fine, but for the filtered-out declarations a superflous line containing a ';' appears.
This is more easily reproduced by