diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-05-06 10:54:54 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-05-06 10:54:54 -0700 |
commit | aa871cb12b356239f624cc23eb409f4c4db0ec2c (patch) | |
tree | 3465d20875b4983100c1d17375516061b3cf4d1c /struct.c | |
parent | b2b3b697499c40e8819d714fc183d244951bf2bd (diff) | |
download | txr-aa871cb12b356239f624cc23eb409f4c4db0ec2c.tar.gz txr-aa871cb12b356239f624cc23eb409f4c4db0ec2c.tar.bz2 txr-aa871cb12b356239f624cc23eb409f4c4db0ec2c.zip |
ffi: reduce (array void t) syntax to (array t).
Omission of the dimension will be expressed by actual omission
rather than the void placeholder. It's just a harmless bit of
parsing providing a reasonably intuitive syntax that doesn't
leave readers wondering what void is doing there.
* ffi.c (ffi_type_compile): Rearrange array parsing code.
Also diagnose if the form has more than thre elements.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions