+2018-12-03 Eric Botcazou <ebotcazou@adacore.com>
+
+ * einfo.adb (Write_Entity_Info): Don't take Scope of Standard
+ package.
+ * sem_ch4.adb (Remove_Abstract_Operations): Add missing blank
+ lines to -gnatdv output.
+ * sem_type.adb (Write_Overloads): Take Entity of entity names
+ only.
+
2018-12-03 Hristian Kirtchev <kirtchev@adacore.com>
* checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch3.adb,
Write_Eol;
Write_Attribute (" Type ", Etype (Id));
Write_Eol;
- Write_Attribute (" Scope ", Scope (Id));
+ if Id /= Standard_Standard then
+ Write_Attribute (" Scope ", Scope (Id));
+ end if;
Write_Eol;
case Ekind (Id) is
begin
if Is_Overloaded (N) then
if Debug_Flag_V then
- Write_Str ("Remove_Abstract_Operations: ");
+ Write_Line ("Remove_Abstract_Operations: ");
Write_Overloads (N);
end if;
end if;
if Debug_Flag_V then
- Write_Str ("Remove_Abstract_Operations done: ");
+ Write_Line ("Remove_Abstract_Operations done: ");
Write_Overloads (N);
end if;
end if;
Print_Node_Briefly (N);
if not Is_Overloaded (N) then
- Write_Line ("Non-overloaded entity ");
- Write_Entity_Info (Entity (N), " ");
+ if Is_Entity_Name (N) then
+ Write_Line ("Non-overloaded entity ");
+ Write_Entity_Info (Entity (N), " ");
+ end if;
elsif Nkind (N) not in N_Has_Entity then
Get_First_Interp (N, I, It);