diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-17 19:57:54 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-17 19:57:54 +0000 |
commit | 27ed7650debf12b87a76091b7a80998e234ba66e (patch) | |
tree | 7b8d83608990e1efef02446a0d4e50f834e73929 | |
parent | 5927e905e811b7d26c30bf575557cb4f10569560 (diff) | |
download | gcc-27ed7650debf12b87a76091b7a80998e234ba66e.tar.gz |
2011-07-17 Basile Starynkevitch <basile@starynkevitch.net>
* melt-runtime.c (plugin_init): Return 1 because successful.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@176376 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog.MELT | 3 | ||||
-rw-r--r-- | gcc/melt-runtime.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog.MELT b/gcc/ChangeLog.MELT index 25d1ad8654f..bd557a51be0 100644 --- a/gcc/ChangeLog.MELT +++ b/gcc/ChangeLog.MELT @@ -1,3 +1,6 @@ +2011-07-17 Basile Starynkevitch <basile@starynkevitch.net> + * melt-runtime.c (plugin_init): Return 1 because successful. + 2011-07-16 Basile Starynkevitch <basile@starynkevitch.net> {{Regenerated}} * melt/generated/meltrunsup-inc.c: Regenerate. diff --git a/gcc/melt-runtime.c b/gcc/melt-runtime.c index 6d918af0a11..9c0e0f05e9b 100644 --- a/gcc/melt-runtime.c +++ b/gcc/melt-runtime.c @@ -9551,6 +9551,7 @@ do_finalize_melt (void) GPL compatible GCC plugin. */ int plugin_is_GPL_compatible = 1; + /* the plugin initialization code has to be exactly plugin_init */ int plugin_init (struct plugin_name_args* plugin_info, @@ -9577,7 +9578,7 @@ lispy domain specific language to extend GCC. See http://gcc-melt.org/"; melt_really_initialize (plugin_info->base_name, gccversionstr); free (gccversionstr); debugeprintf ("end of melt plugin_init"); - return 0; /* success */ + return 1; /* success */ } #else /* !MELT_IS_PLUGIN*/ |