diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-07-27 22:33:01 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-27 22:33:01 -0700 |
commit | ac8a694beb385af6d2bdb464ba67b1a7c044cef7 (patch) | |
tree | da5f87b3724b24364190ee887a648805415b9015 /tests/017/glob-zarray.expected | |
parent | 8384b0fbcbf329dd7f234546f50f2600a5c8b6b4 (diff) | |
download | txr-ac8a694beb385af6d2bdb464ba67b1a7c044cef7.tar.gz txr-ac8a694beb385af6d2bdb464ba67b1a7c044cef7.tar.bz2 txr-ac8a694beb385af6d2bdb464ba67b1a7c044cef7.zip |
subtypep: handle struct type objects.
The subtypep function has poor requirements, handling only type
symbols. Let's extend it to handle structure type objects.
* lib.c (subtypep): In all cases when an argument is considered to be a
possible structure symbol, and thus subject to find_struct_type,
consider whether it already is a struct type, and just take it as-is.
* tests/012/type.tl: New tests.
* txr.1: Updated.
Diffstat (limited to 'tests/017/glob-zarray.expected')
0 files changed, 0 insertions, 0 deletions