summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch7.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-04-24 12:25:20 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-24 12:25:20 +0200
commitc54ab0b5d10f8a81041e9403b3a3ae0d4587d499 (patch)
tree5399178000a10bd73843e70c925dd3e5bb814955 /gcc/ada/sem_ch7.adb
parentb3520ca005a1242308fa8d4c4e684f16ef6a0905 (diff)
downloadgcc-c54ab0b5d10f8a81041e9403b3a3ae0d4587d499.tar.gz
[multiple changes]
2009-04-24 Vincent Celier <celier@adacore.com> * opt.ads (Unchecked_Shared_Lib_Imports): New Boolean flag. * prj-nmsc.adb (Check_Library): No error for imports by shared library projects, when --unchecked-shared-lib-imports is used. 2009-04-24 Robert Dewar <dewar@adacore.com> * sem_ch7.adb: Minor reformatting From-SVN: r146693
Diffstat (limited to 'gcc/ada/sem_ch7.adb')
-rw-r--r--gcc/ada/sem_ch7.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/sem_ch7.adb b/gcc/ada/sem_ch7.adb
index 54d4a299065..5cff9449399 100644
--- a/gcc/ada/sem_ch7.adb
+++ b/gcc/ada/sem_ch7.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2009, 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- --
@@ -2146,8 +2146,8 @@ package body Sem_Ch7 is
then
if not Has_Private_Declaration (Etype (Id)) then
- -- We assume that the user did not intend a deferred
- -- constant declaration, and the expression is just missing.
+ -- We assume that the user did not intend a deferred constant
+ -- declaration, and the expression is just missing.
Error_Msg_N
("constant declaration requires initialization expression",