diff options
author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-10 17:05:43 +0000 |
---|---|---|
committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-10 17:05:43 +0000 |
commit | b6250dbca7accdcd4850fc4b42a551f5ffee95f5 (patch) | |
tree | 32b7af9ce6f4e5053e903e857f8b85deacf18cfd /gcc/java/jcf-parse.c | |
parent | 551b77a57755d7501fa34770d4c9252d585f7211 (diff) | |
download | gcc-b6250dbca7accdcd4850fc4b42a551f5ffee95f5.tar.gz |
2001-01-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
* java-tree.h (lang_printable_name_wls): New prototype.
* lang.c (put_decl_name): Removed dead code. Use DECL_CONTEXT
rather than `current_class' to print type name. Don't prepend type
names when printing constructor names.
(lang_printable_name_wls): New function.
* jcf-parse.c (jcf_parse_source): Pass NULL `file' argument to
`build_expr_wfl', alway set EXPR_WFL_FILENAME_NODE.
* parse.y (patch_method_invocation): Message tuned for constructors.
(not_accessible_p): Grant `private' access from within
enclosing contexts.
2001-01-05 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (patch_binop): Compute missing type in error situations.
(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg00752.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38870 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r-- | gcc/java/jcf-parse.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index dcfb6126da0..3fa64b2246b 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -569,9 +569,8 @@ jcf_parse_source () java_push_parser_context (); BUILD_FILENAME_IDENTIFIER_NODE (file, current_jcf->filename); if (wfl_operator == NULL_TREE) - wfl_operator = build_expr_wfl (NULL_TREE, file, 0, 0); - else - EXPR_WFL_FILENAME_NODE (wfl_operator) = file; + wfl_operator = build_expr_wfl (NULL_TREE, NULL, 0, 0); + EXPR_WFL_FILENAME_NODE (wfl_operator) = file; input_filename = ggc_strdup (current_jcf->filename); current_class = NULL_TREE; current_function_decl = NULL_TREE; |