aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-06 09:09:47 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-06 09:09:47 +0000
commit69bc6bff15bc6d1d294a828693091d0265549130 (patch)
tree9429281816e5f0ce1b0e27a9de8cbfa48bc75a3f /gcc/cp/decl.c
parentc4efba1c212b3cc4c3af05a420888b878fcc29ae (diff)
downloadgcc-69bc6bff15bc6d1d294a828693091d0265549130.zip
gcc-69bc6bff15bc6d1d294a828693091d0265549130.tar.gz
gcc-69bc6bff15bc6d1d294a828693091d0265549130.tar.bz2
decl.c: Replace %H by an explicit location.
2009-07-06 Manuel López-Ibáñez <manu@gcc.gnu.org> cp/ * decl.c: Replace %H by an explicit location. Update all calls. * except.c: Likewise. * semantics.c: Likewise. * parser.c: Likewise. From-SVN: r149277
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index dc2ef1e..6d15783 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -2490,7 +2490,7 @@ identify_goto (tree decl, const location_t *locus)
else
permerror (input_location, "jump to case label");
if (locus)
- permerror (input_location, "%H from here", locus);
+ permerror (*locus, " from here");
}
/* Check that a single previously seen jump to a newly defined label