Commit 11f746c6 by Robert Dewar Committed by Arnaud Charlet

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
parent 632eb367
......@@ -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;
......
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