diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-07-11 06:48:24 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-07-11 06:48:24 -0700 |
commit | d53e570f5361988e0c0b17d387a599ba73f4dedc (patch) | |
tree | 4016e0d4b934da41b22b119c391e8a24c900c10c /arith.c | |
parent | de76e0a57c28cd102994227483cec5ac7eaccd8e (diff) | |
download | txr-d53e570f5361988e0c0b17d387a599ba73f4dedc.tar.gz txr-d53e570f5361988e0c0b17d387a599ba73f4dedc.tar.bz2 txr-d53e570f5361988e0c0b17d387a599ba73f4dedc.zip |
struct: uslot and umethod: improve diagnostics.
* struct.c (uslot_fun, umethod_fun, umethod_args_fun): Use the
struct_handle_for_slot function rather than struct_handle.
That function includes the slot name in the diagnostic
message when the object isn't a struct; the programmer knows
which slot was being asked for in the non-struct object.
Diffstat (limited to 'arith.c')
0 files changed, 0 insertions, 0 deletions