par-ch12.adb (P_Generic_Associations): The source position of an Others association...
authorEd Schonberg <schonberg@adacore.com>
Wed, 6 Jun 2007 10:40:12 +0000 (12:40 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Jun 2007 10:40:12 +0000 (12:40 +0200)
commitf92f17e6e943377eb2e7b43f5de31ceda409c6cc
tree703cfa5351f121ff7972a45622d5f73f9630e489
parentc7ce71c2263051ea52654243916c7e61640a8a03
par-ch12.adb (P_Generic_Associations): The source position of an Others association is that of the others keyword...

2007-04-20  Ed Schonberg  <schonberg@adacore.com>
    Robert Dewar  <dewar@adacore.com>

* par-ch12.adb (P_Generic_Associations): The source position of an
Others association is that of the others keyword, not that of the token
that follows the box.
(P_Formal_Type_Definition): Handle formal access types that carry a
not null indicator.

* par-ch3.adb (P_Known_Discriminant_Part_Opt, P_Component_Items): If
multiple identifier are present, save Scan_State before scanning the
colon, to ensure that separate trees are constructed for each
declaration.
(P_Identifier_Declarations): For object declaration, set new flag
Has_Init_Expression if initialization expression present.
(P_Null_Exclusion): Properly diagnose NOT NULL coming before NULL
Improve NOT NULL error messages

From-SVN: r125439
gcc/ada/par-ch12.adb
gcc/ada/par-ch3.adb