diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-06 06:32:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-06 06:32:19 -0700 |
commit | 16397fbdedaa4510bf17b4a27cb67ecb1ee0a3c2 (patch) | |
tree | 267fadde5128711d9255116fb18b6a46a43d2f86 /signal.c | |
parent | cce7a7d2bcb1b144d87b42f34fb295ee813eaff2 (diff) | |
download | txr-16397fbdedaa4510bf17b4a27cb67ecb1ee0a3c2.tar.gz txr-16397fbdedaa4510bf17b4a27cb67ecb1ee0a3c2.tar.bz2 txr-16397fbdedaa4510bf17b4a27cb67ecb1ee0a3c2.zip |
Handle structs in list collection operations.
This eliminates the error which occurs when
a sequence implemented as a struct is nconced
or appended onto. The struct is converted to
a list, and so is the object on the right hand
side. As a result, more generic sequence code
works on structs.
* lib.c (list_collect_nconc, list_collect_append):
Handle tail of type COBJ by converting to a list,
storing that list back in the tail and then
destructively tacking onto that the obj
operand, also turned into a list.
Diffstat (limited to 'signal.c')
0 files changed, 0 insertions, 0 deletions