aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2020-04-07 16:03:52 -0700
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-16 09:07:16 -0400
commit0951b918ca3d9a600f6732e985117520f203e501 (patch)
tree62e9ec4138de997ca9e928438c6aadff3d0c965f /gcc/ada/libgnat
parent82af72916360c4f7b4e38b005e866bde80e7cd2d (diff)
downloadgcc-0951b918ca3d9a600f6732e985117520f203e501.zip
gcc-0951b918ca3d9a600f6732e985117520f203e501.tar.gz
gcc-0951b918ca3d9a600f6732e985117520f203e501.tar.bz2
[Ada] Enable literal aspect specifications in Big_Numbers specs
2020-06-16 Steve Baird <baird@adacore.com> gcc/ada/ * libgnat/a-nbnbin.ads, libgnat/a-nbnbre.ads: Uncomment the commented-out Integer_Literal aspect specification for type Big_Integer.
Diffstat (limited to 'gcc/ada/libgnat')
-rw-r--r--gcc/ada/libgnat/a-nbnbin.ads4
-rw-r--r--gcc/ada/libgnat/a-nbnbre.ads2
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/libgnat/a-nbnbin.ads b/gcc/ada/libgnat/a-nbnbin.ads
index 581e868..e0a9057 100644
--- a/gcc/ada/libgnat/a-nbnbin.ads
+++ b/gcc/ada/libgnat/a-nbnbin.ads
@@ -27,8 +27,8 @@ package Ada.Numerics.Big_Numbers.Big_Integers
with Preelaborate
is
type Big_Integer is private with
- -- Integer_Literal => From_String,
- Put_Image => Put_Image;
+ Integer_Literal => From_String,
+ Put_Image => Put_Image;
function Is_Valid (Arg : Big_Integer) return Boolean
with Convention => Intrinsic;
diff --git a/gcc/ada/libgnat/a-nbnbre.ads b/gcc/ada/libgnat/a-nbnbre.ads
index ddfbd77..1e90ffb 100644
--- a/gcc/ada/libgnat/a-nbnbre.ads
+++ b/gcc/ada/libgnat/a-nbnbre.ads
@@ -26,7 +26,7 @@ package Ada.Numerics.Big_Numbers.Big_Reals
with Preelaborate
is
type Big_Real is private with
--- Real_Literal => From_String,
+ Real_Literal => From_String,
Put_Image => Put_Image;
function Is_Valid (Arg : Big_Real) return Boolean