aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch8.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2016-06-22 12:39:31 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2016-06-22 12:39:31 +0200
commitd1aea5ddc5c0667762f8e0138c60199ba0f31fe2 (patch)
tree2625b8159cb633581742fe119da525c3901946df /gcc/ada/sem_ch8.adb
parent405b907c8fb5f183d2ae2a0f65f750a1551ef97c (diff)
downloadgcc-d1aea5ddc5c0667762f8e0138c60199ba0f31fe2.zip
gcc-d1aea5ddc5c0667762f8e0138c60199ba0f31fe2.tar.gz
gcc-d1aea5ddc5c0667762f8e0138c60199ba0f31fe2.tar.bz2
[multiple changes]
2016-06-22 Bob Duff <duff@adacore.com> * g-comlin.ads (Parameter_Type): Change subtype of Last to Natural. * g-comlin.adb (Set_Parameter): Change subtype of Last to Natural. (Getopt): Check for Arg = "", and Switches /= "". (Internal_Initialize_Option_Scan): Check for Argument (Parser, Index) /= "". 2016-06-22 Gary Dismukes <dismukes@adacore.com> * sem_prag.adb, sem_ch8.adb: Minor reformatting. From-SVN: r237693
Diffstat (limited to 'gcc/ada/sem_ch8.adb')
-rw-r--r--gcc/ada/sem_ch8.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch8.adb b/gcc/ada/sem_ch8.adb
index 44bae7d..e1b31aa 100644
--- a/gcc/ada/sem_ch8.adb
+++ b/gcc/ada/sem_ch8.adb
@@ -1037,8 +1037,8 @@ package body Sem_Ch8 is
and then not Is_Access_Constant (Etype (Nam))
then
Error_Msg_N
- ("(Ada 2005): the renamed object is not access-to-constant "
- & "(RM 8.5.1(6))", N);
+ ("(Ada 2005): the renamed object is not access-to-constant "
+ & "(RM 8.5.1(6))", N);
elsif not Constant_Present (Access_Definition (N))
and then Is_Access_Constant (Etype (Nam))