re PR ada/23973 (without -gnat05, GNAT warns that interface is new kw, but misses...
authorJavier Miranda <miranda@adacore.com>
Wed, 15 Feb 2006 09:42:14 +0000 (10:42 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Feb 2006 09:42:14 +0000 (10:42 +0100)
commit76346895e79e6849880261fbfc2cababb0382367
treec0f35748ab8bd75b10c0580a6d26f4e1d3b5743f
parent8aa0b2c698d6c08bffd85d8da91806f501a97390
re PR ada/23973 (without -gnat05, GNAT warns that interface is new kw, but misses one frequent occurence)

2006-02-13  Javier Miranda  <miranda@adacore.com>

PR ada/23973

* par-ch3.adb (P_Derived_Type_Def_Or_Private_Ext_Decl): Reorganize the
code to improve the error message reported when the program has
declarations of abstract interface types and it is not compiled with
the -gnat05 switch.
(P_Access_Definition): Reorganize the code to improve the error
message reported when the new Ada 2005 syntax for anonymous
access types is used and the program is not compiled with the
-gnat05 switch.

From-SVN: r111080
gcc/ada/par-ch3.adb