+2019-07-23 Eric Botcazou <ebotcazou@adacore.com>
+
+ * repinfo.adb (List_Component_Layout): Pass Decimal to UI_Write.
+ (Write_Val): Likewise.
+
2019-07-23 Ed Schonberg <schonberg@adacore.com>
* aspects.ads: New table Operational_Aspect, used to distinguish
if Ekind (Ent) = E_Discriminant then
Spaces (Indent);
Write_Str (" ""discriminant"": ");
- UI_Write (Discriminant_Number (Ent));
+ UI_Write (Discriminant_Number (Ent), Decimal);
Write_Line (",");
end if;
Spaces (Indent);
Spaces (Max_Spos_Length - 2);
if Starting_Position /= Uint_0 then
- UI_Write (Starting_Position);
+ UI_Write (Starting_Position, Decimal);
Write_Str (" + ");
end if;
Sbit := Sbit - SSU;
end if;
- UI_Write (Sbit);
+ UI_Write (Sbit, Decimal);
if List_Representation_Info_To_JSON then
Write_Line (", ");
Lbit := Sbit + Esiz - 1;
if List_Representation_Info_To_JSON then
- UI_Write (Esiz);
+ UI_Write (Esiz, Decimal);
else
if Lbit >= 0 and then Lbit < 10 then
Write_Char (' ');
end if;
- UI_Write (Lbit);
+ UI_Write (Lbit, Decimal);
end if;
-- The test for Esize (Ent) not Uint_0 here is an annoying special
end if;
else
- UI_Write (Val);
+ UI_Write (Val, Decimal);
end if;
end Write_Val;