summaryrefslogtreecommitdiffstats
path: root/sysif.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-06-20 09:13:51 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-06-20 09:13:51 -0700
commitbc7d7b8843c84103e22e8080d069dfa6a52fb463 (patch)
treec1f414dd5e480f239bca4b2d5beeb974bdaea967 /sysif.c
parentf61bf72e61f012e173acc15dfda71a3e5371bde1 (diff)
downloadtxr-bc7d7b8843c84103e22e8080d069dfa6a52fb463.tar.gz
txr-bc7d7b8843c84103e22e8080d069dfa6a52fb463.tar.bz2
txr-bc7d7b8843c84103e22e8080d069dfa6a52fb463.zip
structs: bugfix: wrong warning about no such static slot
* struct.c (static_slot_types): If a symbol is attached to an empty type list in the static slot hash, then try triggering auto-load on it. This function's result is relied on by the struct macros for generating warnings; if we don't probe the autload, we get spurious warnings about symbols not being the name of any static slot. (static_slot_type_reg): Copy and paste bug: store the type into the correct, static slot type hash instead of the instance slot type hash.
Diffstat (limited to 'sysif.c')
0 files changed, 0 insertions, 0 deletions