aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c2
1 files changed, 2 insertions, 0 deletions
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 */