aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2004-09-29 19:16:00 -0700
committerPer Bothner <bothner@gcc.gnu.org>2004-09-29 19:16:00 -0700
commitd68acc044e8b214f490718612e1c2d1a122813eb (patch)
tree3fa17ee92a3bfa8794ed1b9bee93f0ebb4d2e19b /gcc/java/parse.h
parent7ce3fc8ffed7f487ea24b17a01ace93082787d5e (diff)
downloadgcc-d68acc044e8b214f490718612e1c2d1a122813eb.zip
gcc-d68acc044e8b214f490718612e1c2d1a122813eb.tar.gz
gcc-d68acc044e8b214f490718612e1c2d1a122813eb.tar.bz2
java-tree.h: Redefine some macros and add soem declaration to handle the USE_MAPPED_LOCATION...
* java-tree.h: Redefine some macros and add soem declaration to handle the USE_MAPPED_LOCATION case. * parse.h (EXPR_WFL_QUALIFICATION): Use operand 1, not 2. * java-tree.h (EXPR_WFL_FILENAME_NODE): Use operand 2, not 1. * java-tree.def (EXPR_WITH_FILE_LOCATION): Only need two operands in USE_MAPPED_LOCATION case, since EXPR_WFL_FILENAME_NODE is gone. From-SVN: r88323
Diffstat (limited to 'gcc/java/parse.h')
-rw-r--r--gcc/java/parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h
index 9e4e0f8..95e4b23 100644
--- a/gcc/java/parse.h
+++ b/gcc/java/parse.h
@@ -625,7 +625,7 @@ typedef struct jdeplist_s jdeplist;
build_expr_wfl ((NODE), input_filename, EXPR_WFL_LINENO ((WFL)), \
EXPR_WFL_COLNO ((WFL)))
-#define EXPR_WFL_QUALIFICATION(WFL) TREE_OPERAND ((WFL), 2)
+#define EXPR_WFL_QUALIFICATION(WFL) TREE_OPERAND ((WFL), 1)
#define QUAL_WFL(NODE) TREE_PURPOSE (NODE)
#define QUAL_RESOLUTION(NODE) TREE_VALUE (NODE)
#define QUAL_DECL_TYPE(NODE) GET_SKIP_TYPE (NODE)