aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-04-05 13:09:45 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-04-05 13:09:45 +0000
commit4f65832d5c08d16601c8271909c5e1f9deca23ed (patch)
treeb9b66e4fab448bc92781caec3bf1299deb89910a /gcc/java/jcf-parse.c
parent4504ead1db50e758e107f9b3a42975afbe1e8106 (diff)
downloadgcc-4f65832d5c08d16601c8271909c5e1f9deca23ed.zip
gcc-4f65832d5c08d16601c8271909c5e1f9deca23ed.tar.gz
gcc-4f65832d5c08d16601c8271909c5e1f9deca23ed.tar.bz2
Makefile.in (gjavah.o): Depend on $(JAVA_TREE_H).
* Makefile.in (gjavah.o): Depend on $(JAVA_TREE_H). * gjavah.c: Include math.h earlier. Include tree.h/java-tree.h. (main_jcf): Don't define. (process_file): Don't set `main_jcf'. * java-tree.h (main_jcf): Don't declare. * jcf-parse.c (main_jcf): Add static definition. * lang.c (main_jcf): Don't define. From-SVN: r26204
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 1b9db4e..7b58229 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -77,6 +77,9 @@ static tree current_field = NULL_TREE;
/* The METHOD_DECL for the current method. */
static tree current_method = NULL_TREE;
+/* The Java .class file that provides main_class; the main input file. */
+static struct JCF main_jcf[1];
+
/* Declarations of some functions used here. */
static tree give_name_to_class PROTO ((JCF *jcf, int index));
static void parse_zip_file_entries PROTO ((void));