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] |
This patch ensures that all gnat pragmas are properly marked so that pragma Restrictions (No_Implementation_Pragmas) works as shown in the following output: 1. pragma Restrictions (No_Implementation_Pragmas); 2. pragma Wide_Character_Encoding (UTF8); | >>> violation of restriction "no_implementation_pragmas" at line 1 3. package gnat_pragmas is 4. end gnat_pragmas; This program compiled silently before the patch Tested on i686-pc-linux-gnu, committed on trunk 2008-08-01 Robert Dewar <dewar@adacore.com> * sem_prag.adb (Analyze_Pragma): Put entries in alpha order (Analyze_Pragma): Make sure all GNAT pragmas call GNAT_Pragma
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] |