From ef1acd3f18b8d16db139cbab96d27abe0a81d7e0 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Mon, 7 Dec 2020 23:47:12 +0100 Subject: [PATCH] [Ada] Update reference with description of type resolution gcc/ada/ * sem_res.ads: Update reference in comment. * sem_type.ads: Fix casing in a name of a unit. --- gcc/ada/sem_res.ads | 2 +- gcc/ada/sem_type.ads | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/ada/sem_res.ads b/gcc/ada/sem_res.ads index 44a848796488..d53856647afd 100644 --- a/gcc/ada/sem_res.ads +++ b/gcc/ada/sem_res.ads @@ -31,7 +31,7 @@ with Types; use Types; package Sem_Res is - -- As described in Sem_Ch4, the type resolution proceeds in two phases. + -- As described in Sem_Type, the type resolution proceeds in two phases. -- The first phase is a bottom up pass that is achieved during the -- recursive traversal performed by the Analyze procedures. This phase -- determines unambiguous types, and collects sets of possible types diff --git a/gcc/ada/sem_type.ads b/gcc/ada/sem_type.ads index 6c6d5eb7fb55..4dea6e2076d0 100644 --- a/gcc/ada/sem_type.ads +++ b/gcc/ada/sem_type.ads @@ -85,7 +85,7 @@ package Sem_Type is -- with the appropriate use clause. The global variable Candidate_Type is -- set in Add_One_Interp whenever an interpretation might be legal for an -- operator if the type were directly visible. This variable is used in - -- sem_ch4 when no legal interpretation is found. + -- Sem_Ch4 when no legal interpretation is found. Candidate_Type : Entity_Id; -- 2.47.2