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;
2
1
with Namet ; use Namet;
3
2
with Nlists ; use Nlists;
4
3
with Sem ;
@@ -1034,6 +1033,9 @@ package body Tree_Walk is
1034
1033
Dummy : constant Irep := Do_Subprogram_Or_Block (U);
1035
1034
pragma Unreferenced (Dummy);
1036
1035
begin
1036
+ -- The specification of the package body has already
1037
+ -- been inserted into the symbol table by the call to
1038
+ -- Do_Withed_Unit_Specs.
1037
1039
pragma Assert (Global_Symbol_Table.Contains (Unit_Name));
1038
1040
Unit_Symbol := Global_Symbol_Table (Unit_Name);
1039
1041
Unit_Is_Subprogram := False;
@@ -4379,12 +4381,9 @@ package body Tree_Walk is
4379
4381
-- -----------------------
4380
4382
4381
4383
procedure Do_Withed_Unit_Spec (N : Node_Id) is
4382
- Unit_Name : constant String := Get_Name_String (Get_Unit_Name (N));
4383
4384
begin
4384
- if Defining_Entity (N) = Stand.Standard_Standard or else
4385
- Unit_Name = " system%s"
4386
- then
4387
- -- At the moment Standard or System are not processed: TODO
4385
+ if Defining_Entity (N) = Stand.Standard_Standard then
4386
+ -- At the moment Standard is not processed: TODO
4388
4387
null ;
4389
4388
else
4390
4389
-- Handle all other withed library unit declarations
You can’t perform that action at this time.
0 commit comments