aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-io.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>1998-10-22 13:06:56 +0000
committerTom Tromey <tromey@gcc.gnu.org>1998-10-22 13:06:56 +0000
commit257fafbbe31fc0363c3e1169a574fd523512fac4 (patch)
treeeeaa5ffdc176f3394569c210009ab613d43aa196 /gcc/java/jcf-io.c
parent8603f9c5b022356e3993539be8c70358d935c710 (diff)
downloadgcc-257fafbbe31fc0363c3e1169a574fd523512fac4.zip
gcc-257fafbbe31fc0363c3e1169a574fd523512fac4.tar.gz
gcc-257fafbbe31fc0363c3e1169a574fd523512fac4.tar.bz2
[multiple changes]
1998-10-22 Tom Tromey <tromey@cygnus.com> * config-lang.in (stagestuff): Added jcf-dump and jv-scan. Sun Oct 11 10:31:52 1998 Anthony Green <green@cygnus.com> * Make-lang.in (java): Depend on jcf-dump and jv-scan. (JV_SCAN_SOURCES): New macro. (JCF_DUMP_SOURCES): Likewise. (jcf-dump$(exeext)): New target. (jv-scan$(exeext)): New target. 1998-10-22 Tom Tromey <tromey@cygnus.com> * Makefile.in (LEX): Removed. (LEXFLAGS): Likewise. (SET_BISON): New macro. (BISON): Removed. ($(PARSE_C)): Use SET_BISON. Run bison from srcdir to avoid spurious diffs in parse.c. ($(PARSE_SCAN_C)): Likewise. (PARSE_DIR): New macro. (PARSE_C): Use it. (PARSE_SCAN_C): Likewise. (PARSE_RELDIR): New macro. From-SVN: r23220
Diffstat (limited to 'gcc/java/jcf-io.c')
-rw-r--r--gcc/java/jcf-io.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c
index 666cda7..43e96cf 100644
--- a/gcc/java/jcf-io.c
+++ b/gcc/java/jcf-io.c
@@ -29,6 +29,11 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include <sys/stat.h>
#include <sys/wait.h>
+/* This is true if the user specified a `.java' file on the command
+ line. Otherwise it is 0. FIXME: this is temporary, until our
+ .java parser is fully working. */
+int saw_java_source = 0;
+
/* DOS brain-damage */
#ifndef O_BINARY
#define O_BINARY 0 /* MS-DOS brain-damage */
@@ -350,7 +355,6 @@ DEFUN(find_class, (classname, classname_length, jcf, do_class_file),
java_entry = jcf_path_next (java_entry))
{
int m, l;
- extern int saw_java_source; /* FIXME: temporary. */
if (jcf_path_is_zipfile (java_entry))
continue;