diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-01-25 20:06:29 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-01-25 20:06:29 -0800 |
commit | be0aa60ca1fda9d6402bec586d60cc49cb870e87 (patch) | |
tree | 780df0dd8537a991795cd559f9733a6e50633ca8 | |
parent | d7096f0ba67055f97739bd3c4864f06ca08887dd (diff) | |
download | txr-be0aa60ca1fda9d6402bec586d60cc49cb870e87.tar.gz txr-be0aa60ca1fda9d6402bec586d60cc49cb870e87.tar.bz2 txr-be0aa60ca1fda9d6402bec586d60cc49cb870e87.zip |
Registering tentative def must purge warning.
* match.c (match_reg_var): No need to call
uw_purge_deferred_warning here any more.
* unwind.c (uw_register_tentative_def): Purge any
deferred warnings for the tag.
-rw-r--r-- | match.c | 1 | ||||
-rw-r--r-- | unwind.c | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -4410,7 +4410,6 @@ void match_reg_var(val sym) { if (bindable(sym) && !uw_tentative_def_exists(sym)) { val tag = cons(var_s, sym); - uw_purge_deferred_warning(tag); uw_register_tentative_def(tag); } } @@ -684,6 +684,7 @@ val uw_defer_warning(val args) val uw_register_tentative_def(val tag) { + uw_purge_deferred_warning(tag); push(tag, &tentative_defs); return nil; } |