removed warning and fixed two problems:
- remove_def was wrong, and parameter defs should not be removed at the end of a scope
This commit is contained in:
@@ -55,7 +55,7 @@ close_scope(doclean)
|
||||
df = CurrentScope->sc_def;
|
||||
if (doclean) while (df) {
|
||||
struct def *next = df->df_nextinscope;
|
||||
remove_def(df);
|
||||
if (! (df->df_flags & (D_VARPAR|D_VALPAR))) remove_def(df);
|
||||
df = next;
|
||||
}
|
||||
CurrVis = CurrVis->next;
|
||||
|
||||
Reference in New Issue
Block a user