aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj-nmsc.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/prj-nmsc.adb')
-rw-r--r--gcc/ada/prj-nmsc.adb16
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/ada/prj-nmsc.adb b/gcc/ada/prj-nmsc.adb
index 751dab8..1ead936 100644
--- a/gcc/ada/prj-nmsc.adb
+++ b/gcc/ada/prj-nmsc.adb
@@ -3166,9 +3166,10 @@ package body Prj.Nmsc is
(Data.Flags,
"library directory { does not exist",
Lib_Dir.Location, Project);
- end if;
- Project.Library_Dir := No_Path_Information;
+ else
+ Project.Library_Dir := No_Path_Information;
+ end if;
-- Checks for object/source directories
@@ -5421,10 +5422,10 @@ package body Prj.Nmsc is
(Data.Flags, Data.Flags.Require_Obj_Dirs,
"object directory { not found",
Project.Location, Project);
- end if;
-
- Project.Object_Directory := No_Path_Information;
+ else
+ Project.Object_Directory := No_Path_Information;
+ end if;
end if;
end if;
@@ -5502,9 +5503,10 @@ package body Prj.Nmsc is
Error_Or_Warning
(Data.Flags, Data.Flags.Missing_Source_Files,
"exec directory { not found", Project.Location, Project);
- end if;
- Project.Exec_Directory := No_Path_Information;
+ else
+ Project.Exec_Directory := No_Path_Information;
+ end if;
end if;
end if;
end if;