r125439 - in /trunk/gcc/ada: par-ch12.adb par-c...

charlet@gcc.gnu.org charlet@gcc.gnu.org
Wed Jun 6 10:40:00 GMT 2007


Author: charlet
Date: Wed Jun  6 10:40:12 2007
New Revision: 125439

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125439
Log:
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


Modified:
    trunk/gcc/ada/par-ch12.adb
    trunk/gcc/ada/par-ch3.adb



More information about the Gcc-cvs mailing list