[multiple changes]

2013-01-04  Robert Dewar  <dewar@adacore.com>

	* sinfo.ads: Clean up order of N_xxx subtypes

2013-01-04  Vincent Celier  <celier@adacore.com>

	* prj-conf.adb (Check_Target): Allow --autoconf= with no target.

From-SVN: r194897
This commit is contained in:
Arnaud Charlet 2013-01-04 11:09:29 +01:00
parent 0e564ab485
commit a132df2e32
2 changed files with 7 additions and 10 deletions

View File

@ -566,7 +566,7 @@ package body Prj.Conf is
end if;
if Target = "" then
OK := not Autoconf_Specified or else Tgt_Name = No_Name;
OK := Autoconf_Specified or else Tgt_Name = No_Name;
else
OK := Tgt_Name /= No_Name
and then Target = Get_Name_String (Tgt_Name);

View File

@ -7638,6 +7638,12 @@ package Sinfo is
N_Function_Call,
N_Procedure_Call_Statement,
-- N_Subexpr, N_Has_Etype, N_Raise_xxx_Error
N_Raise_Constraint_Error,
N_Raise_Program_Error,
N_Raise_Storage_Error,
-- N_Subexpr, N_Has_Etype
N_Explicit_Dereference,
@ -7648,15 +7654,6 @@ package Sinfo is
N_Null,
N_Qualified_Expression,
N_Quantified_Expression,
-- N_Raise_xxx_Error, N_Subexpr, N_Has_Etype
N_Raise_Constraint_Error,
N_Raise_Program_Error,
N_Raise_Storage_Error,
-- N_Subexpr, N_Has_Etype
N_Aggregate,
N_Allocator,
N_Case_Expression,