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:
parent
632eb367bf
commit
11f746c63b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user