[Ada] Einfo: update documentation for Scalar_Range
authorEd Schonberg <schonberg@adacore.com>
Tue, 17 Jul 2018 08:05:59 +0000 (08:05 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 17 Jul 2018 08:05:59 +0000 (08:05 +0000)
2018-07-17  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* einfo.ads: Update documentation for Scalar_Range.

From-SVN: r262772

gcc/ada/ChangeLog
gcc/ada/einfo.ads

index 0e2d04e..f813f88 100644 (file)
@@ -1,3 +1,7 @@
+2018-07-17  Ed Schonberg  <schonberg@adacore.com>
+
+       * einfo.ads: Update documentation for Scalar_Range.
+
 2018-07-17  Piotr Trojanek  <trojanek@adacore.com>
 
        * lib-xref-spark_specific.adb (Create_Heap): Attach the HEAP entity to
index 2ed8e10..bb9ec10 100644 (file)
@@ -4222,8 +4222,9 @@ package Einfo is
 --       could be obtained by rummaging around the tree, but it is more
 --       convenient to have it immediately at hand in the entity. The
 --       contents of Scalar_Range can either be an N_Subtype_Indication
---       node (with a constraint), or a Range node, but not a simple
---       subtype reference (a subtype is converted into a range).
+--       node (with a constraint), a Range node, or an Integer_Type_Definition,
+--       but not a simple subtype reference (a subtype is converted into a
+--       explicit range).
 
 --    Scale_Value (Uint16)
 --       Defined in decimal fixed-point types and subtypes. Contains the scale