sem_ch3.adb (Analyze_Full_Type_Declaration): move test that a type has a discriminant...
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 2 Aug 2011 09:23:40 +0000 (11:23 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 2 Aug 2011 09:23:40 +0000 (11:23 +0200)
commit277c9abedd9f5e075d0df64d7a887a1f825beb1f
tree7541702ed36f3db50f965ce30f9a2c31d4f7062c
parenta5fe697b1ef0b00f41d7a1d5a8101dc4f8fece26
sem_ch3.adb (Analyze_Full_Type_Declaration): move test that a type has a discriminant specification so that it does not...

        * sem_ch3.adb (Analyze_Full_Type_Declaration): move test that a type
        has a discriminant specification so that it does not include the case
        of derived types
        (Derived_Type_Declaration): move here the test that a derived type has a
        discriminant specification

From-SVN: r177104
gcc/ada/sem_ch3.adb