parse.y (issue_warning_error_from_context): Call pp_output_formatted_text to be able to get the buffer.
2005-07-01 Andrew Pinski <pinskia@physics.uc.edu> * parse.y (issue_warning_error_from_context): Call pp_output_formatted_text to be able to get the buffer. From-SVN: r101505
This commit is contained in:
parent
c50367a23c
commit
200bbdcecb
2 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
2005-06-29 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
2005-07-01 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* parse.y (issue_warning_error_from_context): Call
|
||||
pp_output_formatted_text to be able to get the buffer.
|
||||
|
||||
2005-06-30 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* parse.y (issue_warning_error_from_context): Update for the
|
||||
renaming of pp_format_text to pp_format.
|
||||
|
|
|
@ -3142,6 +3142,7 @@ issue_warning_error_from_context (
|
|||
text.args_ptr = ap;
|
||||
text.format_spec = gmsgid;
|
||||
pp_format (global_dc->printer, &text);
|
||||
pp_output_formatted_text (global_dc->printer);
|
||||
strncpy (buffer, pp_formatted_text (global_dc->printer), sizeof (buffer) - 1);
|
||||
buffer[sizeof (buffer) - 1] = '\0';
|
||||
pp_clear_output_area (global_dc->printer);
|
||||
|
|
Loading…
Add table
Reference in a new issue