Improved previous fix
This commit is contained in:
parent
f2cfe32e03
commit
9eec0812a1
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
'.'
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue