when Pragma_Compile_Time_Error | Pragma_Compile_Time_Warning =>
GNAT_Pragma;
- -- These pragmas rely on the context. In adc files they raise
- -- Constraint_Error. Ban them from use as configuration pragmas
- -- even in cases where such a use could work.
-
- if Is_Configuration_Pragma then
- Error_Pragma
- ("pragma% is not allowed as a configuration pragma");
- end if;
-
Process_Compile_Time_Warning_Or_Error;
-----------------------------
Name_Check_Float_Overflow : constant Name_Id := N + $; -- GNAT
Name_Check_Name : constant Name_Id := N + $; -- GNAT
Name_Check_Policy : constant Name_Id := N + $; -- GNAT
- Name_Compile_Time_Error : constant Name_Id := N + $; -- GNAT
- Name_Compile_Time_Warning : constant Name_Id := N + $; -- GNAT
Name_Component_Alignment : constant Name_Id := N + $; -- GNAT
Name_Convention_Identifier : constant Name_Id := N + $; -- GNAT
Name_Debug_Policy : constant Name_Id := N + $; -- GNAT
Name_Check : constant Name_Id := N + $; -- GNAT
Name_Comment : constant Name_Id := N + $; -- GNAT
Name_Common_Object : constant Name_Id := N + $; -- GNAT
+ Name_Compile_Time_Error : constant Name_Id := N + $; -- GNAT
+ Name_Compile_Time_Warning : constant Name_Id := N + $; -- GNAT
Name_Complete_Representation : constant Name_Id := N + $; -- GNAT
Name_Complex_Representation : constant Name_Id := N + $; -- GNAT
Name_Constant_After_Elaboration : constant Name_Id := N + $; -- GNAT
Pragma_Check_Float_Overflow,
Pragma_Check_Name,
Pragma_Check_Policy,
- Pragma_Compile_Time_Error,
- Pragma_Compile_Time_Warning,
Pragma_Component_Alignment,
Pragma_Convention_Identifier,
Pragma_Debug_Policy,
Pragma_Check,
Pragma_Comment,
Pragma_Common_Object,
+ Pragma_Compile_Time_Error,
+ Pragma_Compile_Time_Warning,
Pragma_Complete_Representation,
Pragma_Complex_Representation,
Pragma_Constant_After_Elaboration,