From 6a117d00e36e8fa9a2b74aed1b1f5e9beaa517a9 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Tue, 1 May 2001 15:13:31 -0700 Subject: * parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon. From-SVN: r41741 --- gcc/java/ChangeLog | 4 ++++ gcc/java/parse.h | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'gcc/java') diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3499e5a..6234de9 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,5 +1,9 @@ 2001-05-01 Per Bothner + * parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon. + +2001-05-01 Per Bothner + * parse.y (java_pop_parser_context): The TREE_VALUE of a link in the import_list contains the name, not the TREE_PURPOSE. diff --git a/gcc/java/parse.h b/gcc/java/parse.h index d17dbc0..c915700 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -704,8 +704,7 @@ typedef struct _jdeplist { #define REGISTER_IMPORT(WHOLE, NAME) \ { \ IS_A_SINGLE_IMPORT_CLASSFILE_NAME_P ((NAME)) = 1; \ - ctxp->import_list = chainon (ctxp->import_list, \ - build_tree_list ((WHOLE), (NAME))); \ + ctxp->import_list = tree_cons ((WHOLE), (NAME), ctxp->import_list); \ } /* Macro to access the osb (opening square bracket) count */ -- cgit v1.1