summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_aux.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-12 13:41:03 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-12 13:41:03 +0000
commit183939656b461ad94d78851795d4f8beef106ccd (patch)
tree983081c2f329d06316f9687cf9737e4c99522cc8 /gcc/ada/sem_aux.adb
parentf67972d08b84f36797759f8bb41e18406eaf98ef (diff)
downloadgcc-183939656b461ad94d78851795d4f8beef106ccd.tar.gz
2013-04-12 Robert Dewar <dewar@adacore.com>
* namet.adb, namet.ads: Minor addition (7 arg version of Nam_In). * exp_prag.adb, sem_ch3.adb, sem_intr.adb, sem_type.adb, exp_util.adb, sem_aux.adb, exp_ch9.adb, sem_ch7.adb, sem_ch10.adb, sem_prag.adb, par-ch2.adb, tbuild.adb, rtsfind.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb, exp_ch2.adb, prj-makr.adb, sem_elab.adb, exp_ch4.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, par-prag.adb, prj-nmsc.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb, par-util.adb, sem_eval.adb, exp_intr.adb, sem_ch13.adb, exp_cg.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb: Minor code reorganization (use Nam_In). 2013-04-12 Doug Rupp <rupp@adacore.com> * init.c: Don't clobber condition code on VMS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197917 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_aux.adb')
-rw-r--r--gcc/ada/sem_aux.adb12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ada/sem_aux.adb b/gcc/ada/sem_aux.adb
index 490048e9a7c..556156af08e 100644
--- a/gcc/ada/sem_aux.adb
+++ b/gcc/ada/sem_aux.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2012, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2013, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -467,8 +467,8 @@ package body Sem_Aux is
elsif Nkind (N) = N_Attribute_Definition_Clause
and then
(Chars (N) = Nam
- or else (Nam = Name_Priority
- and then Chars (N) = Name_Interrupt_Priority))
+ or else (Nam = Name_Priority
+ and then Chars (N) = Name_Interrupt_Priority))
then
if Check_Parents or else Entity (N) = E then
return N;
@@ -477,9 +477,9 @@ package body Sem_Aux is
elsif Nkind (N) = N_Aspect_Specification
and then
(Chars (Identifier (N)) = Nam
- or else (Nam = Name_Priority
- and then Chars (Identifier (N)) =
- Name_Interrupt_Priority))
+ or else
+ (Nam = Name_Priority
+ and then Chars (Identifier (N)) = Name_Interrupt_Priority))
then
if Check_Parents then
return N;