summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch9.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-07-08 08:08:00 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-07-08 08:08:00 +0000
commit31d83e106293cda0d952b87441a6d7b1396cd934 (patch)
tree021b08805b80d42d62de2059ff5c6dfb8d80017a /gcc/ada/sem_ch9.adb
parent4697dee39b068f7279212613e8018e1ab4169d1b (diff)
downloadgcc-31d83e106293cda0d952b87441a6d7b1396cd934.tar.gz
2013-07-08 Ed Schonberg <schonberg@adacore.com>
* sem_ch4.adb: minor reformatting (remove obsolete comment). * sem_ch9.adb: improve error message on illegal trigger. 2013-07-08 Robert Dewar <dewar@adacore.com> * sem_prag.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200766 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch9.adb')
-rw-r--r--gcc/ada/sem_ch9.adb7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ada/sem_ch9.adb b/gcc/ada/sem_ch9.adb
index 16c011c5ad8..41b4d9ccb2a 100644
--- a/gcc/ada/sem_ch9.adb
+++ b/gcc/ada/sem_ch9.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2012, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2013, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -3053,8 +3053,9 @@ package body Sem_Ch9 is
and then not Is_Controlling_Limited_Procedure
(Entity (Name (Trigger)))
then
- Error_Msg_N ("triggering statement must be delay, procedure " &
- "or entry call", Trigger);
+ Error_Msg_N
+ ("triggering statement must be procedure_or_entry_call " &
+ "('R'M 9.7.2) or delay statement", Trigger);
end if;
end if;