Fix "merge" problem in the previous patch.

2009-09-27  Rafael Avila de Espindola  <espindola@google.com>

	* gengtype.c (main): Use plunge_files instead of plugin_output.

From-SVN: r152224
This commit is contained in:
Rafael Espindola 2009-09-27 16:25:04 +00:00
parent 99be708401
commit ea2ca63363
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-09-27 Rafael Avila de Espindola <espindola@google.com>
* gengtype.c (main): Use plunge_files instead of plugin_output.
2009-09-27 Basile Starynkevitch <basile@starynkevitch.net>
Rafael Avila de Espindola <espindola@google.com>
@ -26829,3 +26833,6 @@ Copyright (C) 2009 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
LocalWords: gengtype

View File

@ -3729,12 +3729,12 @@ main (int argc, char **argv)
open_base_files ();
write_enum_defn (structures, param_structs);
write_types (header_file, structures, param_structs, &ggc_wtd);
if (plugin_output == NULL)
if (plugin_files == NULL)
{
write_types (header_file, structures, param_structs, &pch_wtd);
write_local (header_file, structures, param_structs);
}
write_roots (variables, plugin_output == NULL);
write_roots (variables, plugin_files == NULL);
write_rtx_next ();
close_output_files ();