]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
parse.y (issue_warning_error_from_context): Call pp_output_formatted_text to be able...
authorAndrew Pinski <pinskia@physics.uc.edu>
Fri, 1 Jul 2005 15:21:09 +0000 (15:21 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 1 Jul 2005 15:21:09 +0000 (08:21 -0700)
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

gcc/java/ChangeLog
gcc/java/parse.y

index 4c6dddbf2feab818513b0293375aa75da9ca1556..3d5b22159cdc45b0138c73885a4062d1c831e59d 100644 (file)
@@ -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.
index 6b7ec3f4dca98342b60448115af42c163a73ea50..b54917cde63d5e01ecdcb81ea8bdccbd442c872d 100644 (file)
@@ -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);