diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-05-20 07:28:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-05-20 07:28:09 -0700 |
commit | a641e068e6563deb899759edff274d1995c88712 (patch) | |
tree | 24de009609878bf6eebe62d90856687e7876082a /struct.c | |
parent | 5ac22980a88b1fc4a35bac678f715810e1e745fb (diff) | |
download | txr-a641e068e6563deb899759edff274d1995c88712.tar.gz txr-a641e068e6563deb899759edff274d1995c88712.tar.bz2 txr-a641e068e6563deb899759edff274d1995c88712.zip |
ffi: pack bugfix and tests.
* ffi.c (ffi_transform_pack): Fix: return the original syntax in
the situation when no cases are recognized, rather than
the cdr of the syntax. When the struct/union syntax has no
members, return the original syntax to indicate no transformation
took place.
* txr.1: Document the feature that pack on a typedef name or struct
name with no members will do the alignment adjustment only, without
the syntactic transformation.
* tests/017/pack-align.tl: New file.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions