* parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon.
authorPer Bothner <per@bothner.com>
Tue, 1 May 2001 22:13:31 +0000 (15:13 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Tue, 1 May 2001 22:13:31 +0000 (15:13 -0700)
From-SVN: r41741

gcc/java/ChangeLog
gcc/java/parse.h

index 3499e5a0a8a657f43ed5c68a517853a6e7a49932..6234de9f67160ddebabb524048635280e8fd7f10 100644 (file)
@@ -1,3 +1,7 @@
+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
index d17dbc0d1cb3818e1f36cb5d10074efa0c3557a3..c9157000c9a2c9d4546df5f6e5d70b21b7ef6240 100644 (file)
@@ -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 */