summaryrefslogtreecommitdiff
path: root/gcc/ada/rtsfind.adb
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2006-02-15 10:34:36 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2006-02-15 10:34:36 +0100
commit531eb217c9d0789de38c5ad1554be664500f106d (patch)
tree71ce7a8c7f11888da70d2c0ed33d5b8c5d758e4d /gcc/ada/rtsfind.adb
parente1458816e144304839f515e2c324763615f71020 (diff)
downloadgcc-531eb217c9d0789de38c5ad1554be664500f106d.tar.gz
rtsfind.adb, [...]: Minor code reorganization (not Present should be No)
2006-02-13 Robert Dewar <dewar@adacore.com> * rtsfind.adb, exp_prag.adb, lib-writ.adb, par-labl.adb, sem_case.adb: Minor code reorganization (not Present should be No) From-SVN: r111042
Diffstat (limited to 'gcc/ada/rtsfind.adb')
-rw-r--r--gcc/ada/rtsfind.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/rtsfind.adb b/gcc/ada/rtsfind.adb
index f2dd0393b35..892a5b4468e 100644
--- a/gcc/ada/rtsfind.adb
+++ b/gcc/ada/rtsfind.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2006, 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- --
@@ -799,7 +799,7 @@ package body Rtsfind is
-- specially permitted units, raise the exception.
if No_Run_Time_Mode
- and then not OK_No_Run_Time_Unit (U_Id)
+ and then not OK_No_Run_Time_Unit (U_Id)
then
Entity_Not_Defined (E);
raise RE_Not_Available;
@@ -1105,7 +1105,7 @@ package body Rtsfind is
begin
-- If entry is not set, set it now
- if not Present (U.Entity) then
+ if No (U.Entity) then
U.Entity := E;
U.Uname := Get_Unit_Name (U_Id);
U.Unum := Unum;