Commit cead616d by Arnaud Charlet Committed by Arnaud Charlet

* xr_tabls.adb, sem_res.adb: Minor reformattingem_res.adb

From-SVN: r165292
parent 1b0b0f18
2010-10-11 Arnaud Charlet <charlet@adacore.com> 2010-10-11 Arnaud Charlet <charlet@adacore.com>
* xr_tabls.adb, sem_res.adb: Minor reformatting
2010-10-11 Arnaud Charlet <charlet@adacore.com>
* gnat_rm.texi, exp_attr.adb, sem_attr.adb, sem_attr.ads, * gnat_rm.texi, exp_attr.adb, sem_attr.adb, sem_attr.ads,
snames.ads-tmpl (Analyze_Attribute, Expand_N_Attribute_Reference): Add snames.ads-tmpl (Analyze_Attribute, Expand_N_Attribute_Reference): Add
handling of Attribute_Ref. Add missing blanks in some error messages. handling of Attribute_Ref. Add missing blanks in some error messages.
......
...@@ -8380,9 +8380,9 @@ package body Sem_Res is ...@@ -8380,9 +8380,9 @@ package body Sem_Res is
if not Tagged_Type_Expansion if not Tagged_Type_Expansion
or else not or else not
(RTU_Loaded (Ada_Tags) (RTU_Loaded (Ada_Tags)
and then Nkind (Prefix (N)) = N_Selected_Component and then Nkind (Prefix (N)) = N_Selected_Component
and then Present (Entity (Selector_Name (Prefix (N)))) and then Present (Entity (Selector_Name (Prefix (N))))
and then Entity (Selector_Name (Prefix (N))) = and then Entity (Selector_Name (Prefix (N))) =
RTE_Record_Component (RE_Prims_Ptr)) RTE_Record_Component (RE_Prims_Ptr))
then then
Apply_Range_Check (Drange, Etype (Index)); Apply_Range_Check (Drange, Etype (Index));
......
...@@ -453,11 +453,10 @@ package body Xr_Tabls is ...@@ -453,11 +453,10 @@ package body Xr_Tabls is
Source_Line => null, Source_Line => null,
Next => null); Next => null);
-- We can insert the reference in the list directly, since all -- We can insert the reference into the list directly, since all the
-- the references will appear only once in the ALI file -- references will appear only once in the ALI file corresponding to the
-- corresponding to the file where they are referenced. -- file where they are referenced. This saves a lot of time compared to
-- This saves a lot of time compared to checking the list to check -- checking the list to check if it exists.
-- if it exists.
case Ref_Type is case Ref_Type is
when 'b' | 'c' => when 'b' | 'c' =>
......
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