Make-lang.in: Fix reference to srcdir.

* Make-lang.in: Fix reference to srcdir.
	* jv-scan.c: Add missing xmalloc prototype.
	* jvgenmain.c: Ditto.

From-SVN: r23662
This commit is contained in:
Anthony Green 1998-11-15 15:11:55 +00:00
parent 9bbc7d9f4c
commit 8773d9d5ae
4 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Sun Nov 15 15:09:56 1998 Anthony Green <green@hoser.cygnus.com>
* Make-lang.in: Fix reference to srcdir.
* jv-scan.c: Add missing xmalloc prototype.
* jvgenmain.c: Ditto.
Sun Nov 15 14:36:29 1998 Per Bothner <bothner@cygnus.com>
* decl.c (error_mark_node), java-tree.h: New global.
@ -22,6 +28,7 @@ Sun Nov 15 14:36:29 1998 Per Bothner <bothner@cygnus.com>
(- case PREDECREMENT_EXPR etc): Remove redundant NOTE_PUSH.
(generate_classfile): More robust for abstract methods.
>>>>>>> 1.51
Sun Nov 15 13:52:39 1998 Anthony Green <green@cygnus.com>
* Makefile.in: jv-scan and jvgenmain all require libiberty.

View File

@ -127,7 +127,7 @@ gcjh$(exeext): $(GCJH_SOURCES) $(LIBDEPS)
# This must be kept in sync with dependencies in Makefile.in.
JV_SCAN_SOURCES = $(srcdir)/java/parse-scan.y $(srcdir)/java/lex.c \
$(srcdir)/java/parse.h $(srcdir)/java/lex.h $(srcdir)/java/jv-scan.c $(src)/../libiberty/xmalloc.c $(src)/../libiberty/xstrdup.c
$(srcdir)/java/parse.h $(srcdir)/java/lex.h $(srcdir)/java/jv-scan.c $(srcdir)/../libiberty/xmalloc.c $(srcdir)/../libiberty/xstrdup.c
jv-scan$(exeext): $(JV_SCAN_SOURCES) stamp-objlist $(LIBDEPS)
cd java && $(MAKE) $(FLAGS_TO_PASS) $(JAVA_FLAGS_TO_PASS) ../jv-scan$(exeext)

View File

@ -34,6 +34,7 @@ void fatal VPROTO((char *s, ...));
void warning VPROTO((char *s, ...));
void gcc_obstack_init PROTO ((struct obstack *obstack));
extern void reset_report PROTO ((void));
extern char *xmalloc PROTO((size_t));
#define JC1_LITE
#include "parse.h"

View File

@ -34,6 +34,8 @@ const char class_mangling_prefix[] = "_CL_";
struct obstack name_obstack;
extern char *xmalloc PROTO((size_t));
void
error (const char *str)
{