File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- with Uname ; use Uname;
21with Namet ; use Namet;
32with Nlists ; use Nlists;
43with Sem ;
@@ -1028,6 +1027,9 @@ package body Tree_Walk is
10281027 Dummy : constant Irep := Do_Subprogram_Or_Block (U);
10291028 pragma Unreferenced (Dummy);
10301029 begin
1030+ -- The specification of the package body has already
1031+ -- been inserted into the symbol table by the call to
1032+ -- Do_Withed_Unit_Specs.
10311033 pragma Assert (Global_Symbol_Table.Contains (Unit_Name));
10321034 Unit_Symbol := Global_Symbol_Table (Unit_Name);
10331035 Unit_Is_Subprogram := False;
@@ -4365,12 +4367,9 @@ package body Tree_Walk is
43654367 -- -----------------------
43664368
43674369 procedure Do_Withed_Unit_Spec (N : Node_Id) is
4368- Unit_Name : constant String := Get_Name_String (Get_Unit_Name (N));
43694370 begin
4370- if Defining_Entity (N) = Stand.Standard_Standard or else
4371- Unit_Name = " system%s"
4372- then
4373- -- At the moment Standard or System are not processed: TODO
4371+ if Defining_Entity (N) = Stand.Standard_Standard then
4372+ -- At the moment Standard is not processed: TODO
43744373 null ;
43754374 else
43764375 -- Handle all other withed library unit declarations
You can’t perform that action at this time.
0 commit comments