summaryrefslogtreecommitdiff
path: root/gcc/ada/s-diinio.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-diinio.adb')
-rw-r--r--gcc/ada/s-diinio.adb34
1 files changed, 17 insertions, 17 deletions
diff --git a/gcc/ada/s-diinio.adb b/gcc/ada/s-diinio.adb
index e8d8f5d7f95..c1de5265451 100644
--- a/gcc/ada/s-diinio.adb
+++ b/gcc/ada/s-diinio.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2011, Free Software Foundation, Inc. --
+-- Copyright (C) 2011-2012, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -38,40 +38,40 @@ package body System.Dim_Integer_IO is
---------
procedure Put
- (File : File_Type;
- Item : Num_Dim_Integer;
- Unit : String := "";
- Width : Field := Default_Width;
- Base : Number_Base := Default_Base)
+ (File : File_Type;
+ Item : Num_Dim_Integer;
+ Width : Field := Default_Width;
+ Base : Number_Base := Default_Base;
+ Symbols : String := "")
is
begin
Num_Dim_Integer_IO.Put (File, Item, Width, Base);
- Ada.Text_IO.Put (File, Unit);
+ Ada.Text_IO.Put (File, Symbols);
end Put;
procedure Put
- (Item : Num_Dim_Integer;
- Unit : String := "";
- Width : Field := Default_Width;
- Base : Number_Base := Default_Base)
+ (Item : Num_Dim_Integer;
+ Width : Field := Default_Width;
+ Base : Number_Base := Default_Base;
+ Symbols : String := "")
is
begin
Num_Dim_Integer_IO.Put (Item, Width, Base);
- Ada.Text_IO.Put (Unit);
+ Ada.Text_IO.Put (Symbols);
end Put;
procedure Put
- (To : out String;
- Item : Num_Dim_Integer;
- Unit : String := "";
- Base : Number_Base := Default_Base)
+ (To : out String;
+ Item : Num_Dim_Integer;
+ Base : Number_Base := Default_Base;
+ Symbols : String := "")
is
begin
Num_Dim_Integer_IO.Put (To, Item, Base);
- To := To & Unit;
+ To := To & Symbols;
end Put;
end System.Dim_Integer_IO;