summaryrefslogtreecommitdiff
path: root/gcc/ada/par.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/par.adb')
-rw-r--r--gcc/ada/par.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/par.adb b/gcc/ada/par.adb
index 99f6806057d..b4c8d83e4dd 100644
--- a/gcc/ada/par.adb
+++ b/gcc/ada/par.adb
@@ -1318,6 +1318,10 @@ function Par (Configuration_Pragmas : Boolean) return List_Id is
begin
Compiler_State := Parsing;
+ if Formal_Verification_Mode then
+ Set_Error_Msg_Lang ("(" & Formal_Language & ") ");
+ end if;
+
-- Deal with configuration pragmas case first
if Configuration_Pragmas then