diff options
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 */ |
