Commit 6a117d00 by Per Bothner Committed by Per Bothner

* parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon.

From-SVN: r41741
parent 063df563
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.
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment