diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-10-05 01:47:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-10-05 01:47:39 -0700 |
commit | 5c50205c0f025bae07e813f8374649759b2e825a (patch) | |
tree | 380d0b2e3c26040486da76c819656a998fd8c283 /autoload.c | |
parent | 8ec4ac6b8a529489158a9a8346c1bb0f33ea2b8a (diff) | |
download | txr-5c50205c0f025bae07e813f8374649759b2e825a.tar.gz txr-5c50205c0f025bae07e813f8374649759b2e825a.tar.bz2 txr-5c50205c0f025bae07e813f8374649759b2e825a.zip |
defstruct: refactor elimination of empty :init/:fini.
* stdlib/struct.tl (defstruct): When an :init, :fini,
:postinit or :postfini has an empty body, do not push
it onto its corresponding list. Then later we don't
have to check for empty items when generating the code;
we know only non-empty items are on the lists.
Diffstat (limited to 'autoload.c')
0 files changed, 0 insertions, 0 deletions