sem_attr.adb: Minor code reorganization (use Nkind_In) Minor reformatting

2008-08-08  Robert Dewar  <dewar@adacore.com>

	* sem_attr.adb: Minor code reorganization (use Nkind_In)
	Minor reformatting

From-SVN: r138869
This commit is contained in:
Robert Dewar 2008-08-08 14:22:26 +02:00 committed by Arnaud Charlet
parent 632eb367bf
commit 11f746c63b

View File

@ -3831,8 +3831,7 @@ package body Sem_Attr is
then
-- Check OK prefix
if (Nkind (P) = N_Identifier
or else Nkind (P) = N_Operator_Symbol)
if Nkind_In (P, N_Identifier, N_Operator_Symbol)
and then Chars (P) = Chars (PS)
then
null;