diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-01-02 19:57:34 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-01-02 19:57:34 +0000 |
commit | 5e8a153a549944ab3b061a0cc485540cff9f5d3d (patch) | |
tree | 7c0f27c7da1565e2ba9f556ddab46e8035a39bd4 | |
parent | f7b5ecd97a6bf8ece10b63bf570209bcc699df26 (diff) | |
download | gcc-5e8a153a549944ab3b061a0cc485540cff9f5d3d.zip gcc-5e8a153a549944ab3b061a0cc485540cff9f5d3d.tar.gz gcc-5e8a153a549944ab3b061a0cc485540cff9f5d3d.tar.bz2 |
call.c (build_new_method_call): Fix typo in message format string.
* call.c (build_new_method_call): Fix typo in message format
string.
From-SVN: r60800
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/call.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c8e80e3..9d078c6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,10 @@ 2003-01-02 Mark Mitchell <mark@codesourcery.com> + * call.c (build_new_method_call): Fix typo in message format + string. + +2003-01-02 Mark Mitchell <mark@codesourcery.com> + * parser.c (cp_lexer_next_token_is): Declare it inline. (cp_lexer_set_source_position_from_token): Likewise. (cp_lexer_debugging_p): Likewise. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index b760bce..bd4fb06 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -4861,7 +4861,7 @@ build_new_method_call (tree instance, tree fns, tree args, bool free_p; pretty_name = name_as_c_string (name, basetype, &free_p); - error ("call of overloaded `%D(%A)' is ambiguous", pretty_name, + error ("call of overloaded `%s(%A)' is ambiguous", pretty_name, user_args); print_z_candidates (candidates); if (free_p) |