SE : constant Entity_Id := Scope (E);
function Within_Postcondition return Boolean;
- -- Returns True iff N is within a Postcondition, an
- -- Ensures component in a Test_Case, or a Contract_Cases.
+ -- Returns True iff N is within a Postcondition, a
+ -- Refined_Post, an Ensures component in a Test_Case,
+ -- or a Contract_Cases.
--------------------------
-- Within_Postcondition --
if Nkind (Nod) = N_Pragma
and then Nam_In (Pragma_Name (Nod),
Name_Postcondition,
+ Name_Refined_Post,
Name_Contract_Cases)
then
return True;