diff options
author | Per Bothner <per@bothner.com> | 2001-05-01 15:13:31 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2001-05-01 15:13:31 -0700 |
commit | 6a117d00e36e8fa9a2b74aed1b1f5e9beaa517a9 (patch) | |
tree | 7eac6f8127cf39294d1d93b143c0ad1641d88cb0 /gcc/java | |
parent | 063df563bd283964c6f61dfb9cd609b34cd6d8e9 (diff) | |
download | gcc-6a117d00e36e8fa9a2b74aed1b1f5e9beaa517a9.zip gcc-6a117d00e36e8fa9a2b74aed1b1f5e9beaa517a9.tar.gz gcc-6a117d00e36e8fa9a2b74aed1b1f5e9beaa517a9.tar.bz2 |
* parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon.
From-SVN: r41741
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/parse.h | 3 |
2 files changed, 5 insertions, 2 deletions
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 <per@bothner.com> + * parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon. + +2001-05-01 Per Bothner <per@bothner.com> + * 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 */ |