diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-10-30 19:50:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-10-30 19:50:32 -0700 |
commit | 1d3d115e1f50d1f1feaec7d409c853621b8d939f (patch) | |
tree | 6c1328e22c6db746e852886250b6049aafdd9146 /signal.c | |
parent | d131be5ddd9758bc497ed5eb686b21d05b8aa5c8 (diff) | |
download | txr-1d3d115e1f50d1f1feaec7d409c853621b8d939f.tar.gz txr-1d3d115e1f50d1f1feaec7d409c853621b8d939f.tar.bz2 txr-1d3d115e1f50d1f1feaec7d409c853621b8d939f.zip |
expander: bogus undefined warnings from lisp1 values.
Issue: (sys:lisp1-value x) throws a warning even if x is a
predefined library function. This is caused by naively using
expand to attempt to expand it as a symbol macro.
* eval.c (expand_lisp1_value): Use expand_lisp1 instead of
expand, just like expand_forms_lisp1. Because I didn't notice
this problem when adding those two functions, expand_lisp1 is
farther down the file and we need a forward declaration.
(expand_lisp1_setq): Likewise, and eliminate the unbound
variable check which is done by expand_lisp1.
Diffstat (limited to 'signal.c')
0 files changed, 0 insertions, 0 deletions