OSDN Git Service

2007-04-20 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jun 2007 10:40:12 +0000 (10:40 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jun 2007 10:40:12 +0000 (10:40 +0000)
commit308c3a5723bb8dd3863dce0263526aa787a9119b
tree703cfa5351f121ff7972a45622d5f73f9630e489
parent5a2616d240b1da1c2d9aef1bcbb6ea327d84d844
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125439 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/par-ch12.adb
gcc/ada/par-ch3.adb