+2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com>
+
+ * jvgenmain.c (error): Reversed 2001-02-01 deletion.
+
2001-02-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (JAVA_OBJS): Added java/mangle_name.o
#include "java-tree.h"
static char * do_mangle_classname PARAMS ((const char *string));
+void error PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1;
struct obstack name_obstack;
struct obstack *mangle_obstack = &name_obstack;
exit (1);
}
+/* This function is defined here to help us link jvgenmain at
+ bootstrap. */
+
+void
+error VPARAMS ((const char *msgid, ...))
+{
+#ifndef ANSI_PROTOTYPES
+ const char *msgid;
+#endif
+ va_list ap;
+
+ VA_START (ap, msgid);
+
+#ifndef ANSI_PROTOTYPES
+ msgid = va_arg (ap, const char *);
+#endif
+
+ vfprintf (stderr, msgid, ap);
+ va_end (ap);
+}
+
int
main (int argc, const char **argv)
{