summaryrefslogtreecommitdiffstats
path: root/cadr.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-03-22 06:49:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-03-22 06:49:03 -0700
commitf8d6e538338b9d2635b8f933325f920c0ea21e06 (patch)
tree7e991b9d96a0171666aab06f1b65e8a5ecc77023 /cadr.h
parent7e2f1500f34098be4a0cc0b2130cffb3a729793b (diff)
downloadtxr-f8d6e538338b9d2635b8f933325f920c0ea21e06.tar.gz
txr-f8d6e538338b9d2635b8f933325f920c0ea21e06.tar.bz2
txr-f8d6e538338b9d2635b8f933325f920c0ea21e06.zip
Bugfix: missing warnings when main file is .txr.
If the main file of an application is a .txr file, unbound function and variable warnings are not being generated. * match.c (v_load): For consistency with the load function in eval.c, release deferred warnings in the normal return case, if we are not a recursive load. However, this doesn't fix anything because a load or include is always recursive being invoked from a .txr file that is being loaded. The problem is in fact that the recursive flag is nil when it shouldn't be, and then the uw_unwind block obliterates the warnings. * txr.c (txr_main): We must bind *load-recursive* to t around not just the loading of Lisp, but also of TXR. Otherwise the individual loads will release warnings, raising false positives for forward references.
Diffstat (limited to 'cadr.h')
0 files changed, 0 insertions, 0 deletions