This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] minor fix to private with error message


Tested on i686-linux, committed on trunk.

Minor fix to PRIVATE WITH error message, see test below
Also, while we notice, fix two obsolete references to
PRIVATE WITH in sinput children.

Following test compiles as shown:

     1. pragma Ada_95;
     2. private with j;
        |
        >>> "private with" is an Ada 2005 extension
        >>> unit must be compiled with -gnat05 switch

     3. package q is end;

error message used to say "private" "with"

2006-10-31  Robert Dewar  <dewar@adacore.com>

	* par-ch10.adb (P_Context_Clause): Minor error message fix

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]