aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-10-19 23:05:28 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-10-19 23:05:28 +0000
commit51ae407148a6573c7ede70c5db74a531a98bd710 (patch)
treeb2ecfc38bc44b2e0289f2a3a897cf8da996db131 /gcc/java
parent172d33bca7b6562e86bb4b69430aec0d5f19ff77 (diff)
downloadgcc-51ae407148a6573c7ede70c5db74a531a98bd710.zip
gcc-51ae407148a6573c7ede70c5db74a531a98bd710.tar.gz
gcc-51ae407148a6573c7ede70c5db74a531a98bd710.tar.bz2
jcf-parse.c (parse_source_file): Call jcf_dependency_add_file.
* jcf-parse.c (parse_source_file): Call jcf_dependency_add_file. From Mike Moreton <mike@pillim.demon.co.uk>. From-SVN: r30093
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/jcf-parse.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 33b2f85..6fbe2af 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+1999-10-19 Tom Tromey <tromey@cygnus.com>
+
+ * jcf-parse.c (parse_source_file): Call jcf_dependency_add_file.
+ From Mike Moreton <mike@pillim.demon.co.uk>.
+
1999-10-15 Greg McGary <gkm@gnu.org>
* java-tree.h (flag_bounds_check): Remove extern decl.
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index f32072c..ef47563 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -750,6 +750,8 @@ parse_source_file (file)
/* Mark the file as parsed */
HAS_BEEN_ALREADY_PARSED_P (file) = 1;
+ jcf_dependency_add_file (input_filename, 0);
+
lang_init_source (1); /* Error msgs have no method prototypes */
java_init_lex (); /* Initialize the parser */