Commit fb8d37ef by Arnaud Charlet Committed by Arnaud Charlet

make.adb: Minor...

2016-05-02  Arnaud Charlet  <charlet@adacore.com>

	* make.adb: Minor: avoid an exception when calling gnatmake with
	no argument and gnatmake is built with checks on.
	* lib-xref-spark_specific.adb: Minor code cleanup.

From-SVN: r235725
parent 7cc9a6a9
2016-05-02 Arnaud Charlet <charlet@adacore.com>
* make.adb: Minor: avoid an exception when calling gnatmake with
no argument and gnatmake is built with checks on.
* lib-xref-spark_specific.adb: Minor code cleanup.
2016-05-02 Ed Schonberg <schonberg@adacore.com>
* sem_util.adb (Normalize_Actuals): Take into account extra
......
......@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2011-2015, Free Software Foundation, Inc. --
-- Copyright (C) 2011-2016, 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- --
......@@ -178,7 +178,7 @@ package body SPARK_Specific is
-- Update scope numbers
declare
Scope_Id : Int;
Scope_Id : Pos;
begin
Scope_Id := 1;
for Index in From .. SPARK_Scope_Table.Last loop
......@@ -917,8 +917,8 @@ package body SPARK_Specific is
(Sdep_Table : Unit_Ref_Table;
Num_Sdep : Nat)
is
D1 : Nat;
D2 : Nat;
D1 : Pos;
D2 : Pos;
begin
-- Cross-references should have been computed first
......
......@@ -6418,7 +6418,7 @@ package body Make is
-- platform.
declare
Arg_Len : Positive := Argument_Count;
Arg_Len : Natural := Argument_Count;
Call_Gprbuild : Boolean := False;
Gprbuild : String_Access := null;
Pos : Natural := 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment