|
@@ -272,6 +272,7 @@ interface
|
|
procedure add_public_asmsym(const name:TSymStr;bind:TAsmsymbind;typ:Tasmsymtype);
|
|
procedure add_public_asmsym(const name:TSymStr;bind:TAsmsymbind;typ:Tasmsymtype);
|
|
procedure add_extern_asmsym(sym:TAsmSymbol);
|
|
procedure add_extern_asmsym(sym:TAsmSymbol);
|
|
procedure add_extern_asmsym(const name:TSymStr;bind:TAsmsymbind;typ:Tasmsymtype);
|
|
procedure add_extern_asmsym(const name:TSymStr;bind:TAsmsymbind;typ:Tasmsymtype);
|
|
|
|
+ procedure remove_from_waitingforunits(amodule : tmodule);
|
|
property ImportLibraryList : TFPHashObjectList read FImportLibraryList;
|
|
property ImportLibraryList : TFPHashObjectList read FImportLibraryList;
|
|
function ToString: RTLString; override;
|
|
function ToString: RTLString; override;
|
|
end;
|
|
end;
|
|
@@ -1359,6 +1360,13 @@ implementation
|
|
tasmsymbol.create(externasmsyms,name,bind,typ);
|
|
tasmsymbol.create(externasmsyms,name,bind,typ);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+ procedure tmodule.remove_from_waitingforunits(amodule: tmodule);
|
|
|
|
+ begin
|
|
|
|
+ // It can be nil after when this is called after end_of_parsing was called.
|
|
|
|
+ if assigned(waitingforunit) then
|
|
|
|
+ waitingforunit.remove(amodule);
|
|
|
|
+ end;
|
|
|
|
+
|
|
function tmodule.ToString: RTLString;
|
|
function tmodule.ToString: RTLString;
|
|
begin
|
|
begin
|
|
// Assigned self so we can detect nil.
|
|
// Assigned self so we can detect nil.
|