decl.c (grokparms): Changed message format from %qD to %qE.
* decl.c (grokparms): Changed message format from %qD to %qE. From-SVN: r124228
This commit is contained in:
parent
415e62e232
commit
631ee856ce
@ -1,3 +1,7 @@
|
||||
2007-04-27 Simon Baldwin <simonb@google.com>
|
||||
|
||||
* decl.c (grokparms): Changed message format from %qD to %qE.
|
||||
|
||||
2007-04-27 Douglas Gregor <doug.gregor@gmail.com>
|
||||
|
||||
* error.c (maybe_warn_variadic_templates): Variadic templates are
|
||||
|
@ -8987,7 +8987,7 @@ grokparms (cp_parameter_declarator *first_parm, tree *parms)
|
||||
if (DECL_NAME (decl))
|
||||
{
|
||||
if (pointer_set_contains (unique_decls, DECL_NAME (decl)))
|
||||
error ("multiple parameters named %qD", DECL_NAME (decl));
|
||||
error ("multiple parameters named %qE", DECL_NAME (decl));
|
||||
else
|
||||
pointer_set_insert (unique_decls, DECL_NAME (decl));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user