aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/mlib.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-04-07 17:01:27 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-07 17:01:27 +0200
commit3dd9959c810d51dac8ae52ce28212bcac2afc437 (patch)
tree97de4be619b593f2d66a2fa45de2b0a01f1177c0 /gcc/ada/mlib.adb
parentdcd8728b8e5ad2b9920f184e028850553b243ba4 (diff)
downloadgcc-3dd9959c810d51dac8ae52ce28212bcac2afc437.zip
gcc-3dd9959c810d51dac8ae52ce28212bcac2afc437.tar.gz
gcc-3dd9959c810d51dac8ae52ce28212bcac2afc437.tar.bz2
[multiple changes]
2009-04-07 Robert Dewar <dewar@adacore.com> (Osint.Fail): Change calling sequence to have one string arg (Make.Make_Failed): Same change All callers are adjusted to use concatenation 2009-04-07 Robert Dewar <dewar@adacore.com> * exp_ch4.adb: Fix documentation typo 2009-04-07 Robert Dewar <dewar@adacore.com> * tbuild.ads: Minor reformatting 2009-04-07 Javier Miranda <miranda@adacore.com> * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table when compiling under ZFP runtime. 2009-04-07 Robert Dewar <dewar@adacore.com> * g-comlin.adb: Minor reformatting 2009-04-07 Thomas Quinot <quinot@adacore.com> * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads: Remove dynamic allocation of Fd_Set in Socket_Set_Type objects. From-SVN: r145678
Diffstat (limited to 'gcc/ada/mlib.adb')
-rw-r--r--gcc/ada/mlib.adb16
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/ada/mlib.adb b/gcc/ada/mlib.adb
index f037bdb..5a8a661 100644
--- a/gcc/ada/mlib.adb
+++ b/gcc/ada/mlib.adb
@@ -70,20 +70,22 @@ package body MLib is
end if;
if Name'Length > Max_Characters_In_Library_Name then
- Prj.Com.Fail ("illegal library name """, Name, """: too long");
+ Prj.Com.Fail ("illegal library name """
+ & Name
+ & """: too long");
end if;
if not Is_Letter (Name (Name'First)) then
- Prj.Com.Fail ("illegal library name """,
- Name,
- """: should start with a letter");
+ Prj.Com.Fail ("illegal library name """
+ & Name
+ & """: should start with a letter");
end if;
for Index in Name'Range loop
if not Is_Alphanumeric (Name (Index)) then
- Prj.Com.Fail ("illegal library name """,
- Name,
- """: should include only letters and digits");
+ Prj.Com.Fail ("illegal library name """
+ & Name
+ & """: should include only letters and digits");
end if;
end loop;
end Check_Library_Name;