+2019-07-01 Piotr Trojanek <trojanek@adacore.com>
+
+ * einfo.adb, sem_ch7.adb, sem_prag.adb, sem_util.adb: Update
+ references to the SPARK RM after the removal of Rule 7.1.4(5).
+
2019-07-01 Piotr Trojanek <trojanek@adacore.com>
* sysdep.c: Cleanup references to LynuxWorks in docs and
function Is_External_State (Id : E) return B is
begin
-- To qualify, the abstract state must appear with option "external" or
- -- "synchronous" (SPARK RM 7.1.4(8) and (10)).
+ -- "synchronous" (SPARK RM 7.1.4(7) and (9)).
return
Ekind (Id) = E_Abstract_State
function Is_Synchronized_State (Id : E) return B is
begin
-- To qualify, the abstract state must appear with simple option
- -- "synchronous" (SPARK RM 7.1.4(10)).
+ -- "synchronous" (SPARK RM 7.1.4(9)).
return
Ekind (Id) = E_Abstract_State
-- A [generic] package that defines at least one non-null abstract state
-- requires a completion only when at least one other construct requires
- -- a completion in a body (SPARK RM 7.1.4(4) and (6)). This check is not
+ -- a completion in a body (SPARK RM 7.1.4(4) and (5)). This check is not
-- performed if the caller requests this behavior.
if Do_Abstract_States
Check_Ghost_Synchronous;
-- Option Part_Of without an encapsulating state is
- -- illegal (SPARK RM 7.1.4(9)).
+ -- illegal (SPARK RM 7.1.4(8)).
elsif Chars (Opt) = Name_Part_Of then
SPARK_Msg_N
-- Asynch_Writers Effective_Writes
--
-- Note that both forms of External have higher precedence than
- -- Synchronous (SPARK RM 7.1.4(10)).
+ -- Synchronous (SPARK RM 7.1.4(9)).
elsif Has_Synchronous then
return Nam_In (Property, Name_Async_Readers, Name_Async_Writers);