summaryrefslogtreecommitdiff
path: root/gcc/java/parse.y
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-14 02:36:38 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-14 02:36:38 +0000
commit37c33819b4c4d146c1ecc194b50215297d3086e0 (patch)
tree169246f0954dfc20285a8360379b7db5e6516ac7 /gcc/java/parse.y
parent246a13bd86ef507e9768fd7ccd07d23cdf044e2a (diff)
downloadgcc-37c33819b4c4d146c1ecc194b50215297d3086e0.tar.gz
* java-tree.h (all_class_filename): Remove useless macro.
(enum java_tree_index): Remove JTI_ALL_CLASS_FILENAME constant. (BUILD_FILENAME_IDENTIFIER_NODE): Remove useless macro. * parse.y (java_parser_context_restore_global): Replace BUILD_FILENAME_IDENTIFIER_NODE by plain get_identifier. * jcf-parse.c (read_class, java_parse_file): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r--gcc/java/parse.y6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 8d65bd1e52f..283176f4cec 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -2765,11 +2765,7 @@ java_parser_context_restore_global (void)
current_class = ctxp->class_type;
input_filename = ctxp->filename;
if (wfl_operator)
- {
- tree s;
- BUILD_FILENAME_IDENTIFIER_NODE (s, input_filename);
- EXPR_WFL_FILENAME_NODE (wfl_operator) = s;
- }
+ EXPR_WFL_FILENAME_NODE (wfl_operator) = get_identifier (input_filename);
current_function_decl = ctxp->function_decl;
ctxp->saved_data = 0;
if (ctxp->saved_data_ctx)