Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ffi: pack bugfix and tests. | Kaz Kylheku | 2022-05-20 | 1 | -0/+112 |
* 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. |