parse.y (issue_warning_error_from_context): Update for the renaming of pp_format_text to pp_format.

2005-06-29  Andrew Pinski  <pinskia@physics.uc.edu>

        * parse.y (issue_warning_error_from_context): Update for the
        renaming of pp_format_text to pp_format.

From-SVN: r101497
This commit is contained in:
Andrew Pinski 2005-07-01 03:39:19 +00:00 committed by Andrew Pinski
parent 0e053f18ad
commit 8ce2456a6d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-29 Andrew Pinski <pinskia@physics.uc.edu>
* parse.y (issue_warning_error_from_context): Update for the
renaming of pp_format_text to pp_format.
2005-06-28 Paul Brook <paul@codesourcery.com>
* decl.c (java_init_decl_processing): Call

View File

@ -3141,7 +3141,7 @@ issue_warning_error_from_context (
text.err_no = errno;
text.args_ptr = ap;
text.format_spec = gmsgid;
pp_format_text (global_dc->printer, &text);
pp_format (global_dc->printer, &text);
strncpy (buffer, pp_formatted_text (global_dc->printer), sizeof (buffer) - 1);
buffer[sizeof (buffer) - 1] = '\0';
pp_clear_output_area (global_dc->printer);