aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lex.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2008-08-18 11:17:52 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2008-08-18 11:17:52 +0000
commitcbe5f3b371c07c282d48d135cc5041092e1de28d (patch)
tree6e8f62722b8c096a18c7f96bbbf77c9c7fc8a01c /gcc/cp/lex.c
parent79a141784a7f10d72c756aa309eb6aa9a7bd92c5 (diff)
downloadgcc-cbe5f3b371c07c282d48d135cc5041092e1de28d.zip
gcc-cbe5f3b371c07c282d48d135cc5041092e1de28d.tar.gz
gcc-cbe5f3b371c07c282d48d135cc5041092e1de28d.tar.bz2
diagnostics.c (permerror_at): Rename as permerror.
2008-08-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * diagnostics.c (permerror_at): Rename as permerror. (permerror): Delete. * toplev.h: Likewise. cp/ * typeck.c: Update all callers. * init.c: Likewise. * class.c: Likewise. * decl.c: Likewise. * call.c: Likewise. * except.c: Likewise. * cvt.c: Likewise. * typeck2.c: Likewise. * pt.c: Likewise. * semantics.c: Likewise. * name-lookup.c: Likewise. * lex.c: Likewise. * decl2.c: Likewise. * parser.c: Likewise. From-SVN: r139193
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r--gcc/cp/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index 2c169d1..4b7f614 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -481,7 +481,7 @@ unqualified_fn_lookup_error (tree name)
Note that we have the exact wording of the following message in
the manual (trouble.texi, node "Name lookup"), so they need to
be kept in synch. */
- permerror ("there are no arguments to %qD that depend on a template "
+ permerror (input_location, "there are no arguments to %qD that depend on a template "
"parameter, so a declaration of %qD must be available",
name, name);