This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Andrew Pinski <pinskia@physics.uc.edu> writes:
This fixes the problem with compiling the java front-end.
This is, sadly, not a complete fix. pp_format() does not produce output; you need to call pp_output_formatted_text() too. (The name is confusing, yes; feel free to rename it to something more sensible, if you can think of one.) See pretty_print.c:pp_printf() for the proper way to do it.
Thanks, Andrew Pinski
ChangeLog: 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.Attachment:
t.diff.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |