aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/errout.adb
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2017-01-12 13:18:47 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2017-01-12 14:18:47 +0100
commit6e759c2a0f950ce535e7907db39ddc3866782ade (patch)
tree34bbc627f9d596a221f332486cdfee42a77f8d6b /gcc/ada/errout.adb
parent6bb4ea5cdf9664f2cec861a2a120192b4ac04d1f (diff)
downloadgcc-6e759c2a0f950ce535e7907db39ddc3866782ade.zip
gcc-6e759c2a0f950ce535e7907db39ddc3866782ade.tar.gz
gcc-6e759c2a0f950ce535e7907db39ddc3866782ade.tar.bz2
contracts.adb, [...] (Pragma_Name): Change name to Pragma_Name_Unmapped.
2017-01-12 Bob Duff <duff@adacore.com> * contracts.adb, einfo.adb, errout.adb, exp_attr.adb, exp_ch3.adb, exp_ch7.adb, exp_ch9.adb, exp_prag.adb, freeze.adb, frontend.adb, ghost.adb, inline.adb, lib-writ.adb, lib-xref.adb, par.adb, par-ch10.adb, par-ch2.adb, par-prag.adb, par_sco.adb, sem_attr.adb, sem_aux.adb, sem_ch10.adb, sem_ch12.adb, sem_ch13.adb, sem_ch6.adb, sem_ch8.adb, sem_ch9.adb, sem_elab.adb, sem_prag.adb, sem_res.adb, sem_util.adb, sem_util.ads, sem_warn.adb, sinfo.adb, sinfo.ads, sprint.adb (Pragma_Name): Change name to Pragma_Name_Unmapped. (Pragma_Name_Mapped): Change name to Pragma_Name. This is because the "mapped" version should be the usual case. From-SVN: r244352
Diffstat (limited to 'gcc/ada/errout.adb')
-rw-r--r--gcc/ada/errout.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/errout.adb b/gcc/ada/errout.adb
index f655452..49aa2a7 100644
--- a/gcc/ada/errout.adb
+++ b/gcc/ada/errout.adb
@@ -2800,7 +2800,7 @@ package body Errout is
-- identifiers, pragmas, and pragma argument associations.
if Nkind (Node) = N_Pragma then
- Nam := Pragma_Name_Mapped (Node);
+ Nam := Pragma_Name (Node);
Loc := Sloc (Node);
-- The other cases have Chars fields