aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_dim.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2016-04-27 14:42:03 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2016-04-27 14:42:03 +0200
commita6ac73115af92e964988677378306f5c08dd0ddf (patch)
treed6927bc3c480a774a2a1da60a2833673f3729a23 /gcc/ada/sem_dim.ads
parent888be6b18a697c7f57f2f74fa8dbab058bb819ef (diff)
downloadgcc-a6ac73115af92e964988677378306f5c08dd0ddf.zip
gcc-a6ac73115af92e964988677378306f5c08dd0ddf.tar.gz
gcc-a6ac73115af92e964988677378306f5c08dd0ddf.tar.bz2
[multiple changes]
2016-04-27 Vincent Celier <celier@adacore.com> * gnatcmd.adb: For "gnat ls -V -P", recognize switch --unchecked-shared-lib-imports and set the flag Opt.Unchecked_Shared_Lib_Imports accordingly. 2016-04-27 Ed Schonberg <schonberg@adacore.com> * sem_prag.adb (Analyze_Pre_Post_Condition_In_Decl_Part): A generic subprogram is never a primitive operation, and thus a classwide condition for it is not legal. 2016-04-27 Hristian Kirtchev <kirtchev@adacore.com> * sem_aggr.adb, sem_dim.adb, sem_dim.ads, einfo.adb: Minor reformatting. From-SVN: r235494
Diffstat (limited to 'gcc/ada/sem_dim.ads')
-rw-r--r--gcc/ada/sem_dim.ads16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/ada/sem_dim.ads b/gcc/ada/sem_dim.ads
index bce497a..44f4e86 100644
--- a/gcc/ada/sem_dim.ads
+++ b/gcc/ada/sem_dim.ads
@@ -165,14 +165,14 @@ package Sem_Dim is
-- literal default value in the list of formals Formals.
procedure Check_Expression_Dimensions
- (Expr : Node_Id;
- Typ : Entity_Id);
- -- Compute dimensions of a floating-point expression and compare them
- -- with the dimensions of a the given type. Used to verify dimensions
- -- of the components of a multidimensional array type, for which components
- -- are typically themselves arrays. The resolution of such arrays delays
- -- the resolution of the ultimate components to a separate phase, which
- -- forces this separate dimension verification.
+ (Expr : Node_Id;
+ Typ : Entity_Id);
+ -- Compute dimensions of a floating-point expression and compare them with
+ -- the dimensions of a the given type. Used to verify dimensions of the
+ -- components of a multidimensional array type, for which components are
+ -- typically themselves arrays. The resolution of such arrays delays the
+ -- resolution of the ultimate components to a separate phase, which forces
+ -- this separate dimension verification.
procedure Copy_Dimensions (From, To : Node_Id);
-- Copy dimension vector of node From to node To. Note that To must be a