sem_ch4.adb (Operator_Check): Update the call to Is_Dimensioned_Type.
authorHristian Kirtchev <kirtchev@adacore.com>
Tue, 20 Dec 2011 13:55:31 +0000 (13:55 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 Dec 2011 13:55:31 +0000 (14:55 +0100)
commit15954beb2b32750807397741eda32d81fcb66121
tree0d8ec627102afb8f521f3ec74acc1b8fcebe8f89
parent76d49f494a31b307249417d0f78ed93303bbd96c
sem_ch4.adb (Operator_Check): Update the call to Is_Dimensioned_Type.

2011-12-20  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_ch4.adb (Operator_Check): Update the call to
Is_Dimensioned_Type.
* sem_dim.adb: Remove with and use clause for Namet.Sp. Reorganize
all type declarations and datastructures involved. Propagate
all changes involving data structures and types throughout
the pakage. Alphabetize all subprograms. Add ??? comments.
(AD_Hash): Removed.
(Analyze_Aspect_Dimension): Rewritten. This
routine now does all its checks in one pass rather than
two. Refactor code. The error message are now in a more GNAT-ish style.
(Create_Rational_From_Expr): This is now a function.
(Get_Dimensions): Removed.
(Get_Dimensions_String_Id): Removed.
(Dimensions_Of): New rouitne.
(Exists): New routines.
(Is_Invalid): New routine.
(Permits_Dimensions): Removed.
(Present): Removed.
(Set_Symbol): New routine.
(System_Of): New routine.
* sem_dim.ads: Rewrite the top level description of the
package. Alphabetize subprograms. Add various comments on
subprogram usage. Add ??? comments.
(Is_Dimensioned_Type):
Renamed to Has_Dimension_System.
* sem_res.adb (Resolve_Op_Expon): Update the call to Is_Dimensioned_Type

From-SVN: r182537
gcc/ada/ChangeLog
gcc/ada/s-dimkio.ads
gcc/ada/s-dimmks.ads
gcc/ada/s-dmotpr.ads
gcc/ada/sem_ch4.adb
gcc/ada/sem_dim.adb
gcc/ada/sem_dim.ads
gcc/ada/sem_res.adb