Typ : Entity_Id;
begin
- -- In semantics mode, introduce loop variable so that
- -- loop body can be properly analyzed. Otherwise this
- -- is one after expansion.
+ -- In semantics mode, introduce loop variable so that loop body can be
+ -- properly analyzed. Otherwise this is one after expansion.
if Operating_Mode = Check_Semantics then
Enter_Name (Def_Id);
Error_Msg_N
("to iterate over the elements of an array, use OF", N);
- -- Prevent cascaded errors.
+ -- Prevent cascaded errors
Set_Ekind (Def_Id, E_Constant);
Set_Etype (Def_Id, Etype (First_Index (Typ)));
or else not Expander_Active
then
if Present (Iter)
- and then Present (Iterator_Specification (Iter))
+ and then Present (Iterator_Specification (Iter))
then
declare
Id : constant Entity_Id :=
- Defining_Identifier (Iterator_Specification (Iter));
+ Defining_Identifier (Iterator_Specification (Iter));
begin
if Scope (Id) /= Current_Scope then
Enter_Name (Id);