Improved previous fix

This commit is contained in:
ceriel 1993-01-19 15:33:35 +00:00
parent f2cfe32e03
commit 9eec0812a1
2 changed files with 2 additions and 1 deletions

View file

@ -115,6 +115,7 @@ GetDefinitionModule(id, incr)
else {
if (!is_anon_idf(id) && GetFile(id->id_text)) {
char *f = FileName;
DefModule();
df = lookup(id, GlobalScope, D_IMPORTED, 0);
if (level == 1 &&
@ -135,6 +136,7 @@ GetDefinitionModule(id, incr)
else Modules = n;
nd_end = n;
}
free(f);
}
else {
df = lookup(id, GlobalScope, D_IMPORTED, 0);

View file

@ -193,7 +193,6 @@ node_warning(exportlist, W_OLDFASHIONED, "export list in definition module ignor
DefinitionModule--;
match_id(dot.TOK_IDF, df->df_idf);
df->df_flags &= ~D_BUSY;
free(FileName);
}
'.'
;