From: Per Bothner Date: Tue, 1 May 2001 22:13:31 +0000 (-0700) Subject: * parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a117d00e36e8fa9a2b74aed1b1f5e9beaa517a9;p=gcc.git * parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon. From-SVN: r41741 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3499e5a0a8a..6234de9f671 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +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 diff --git a/gcc/java/parse.h b/gcc/java/parse.h index d17dbc0d1cb..c9157000c9a 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 */