aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/java-tree.def
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/java-tree.def
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/java-tree.def')
-rw-r--r--gcc/java/java-tree.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/java/java-tree.def b/gcc/java/java-tree.def
index 2f2b9f4..1cdbc57 100644
--- a/gcc/java/java-tree.def
+++ b/gcc/java/java-tree.def
@@ -97,8 +97,13 @@ DEFTREECODE (JAVA_EXC_OBJ_EXPR, "java_exc_obj_expr", tcc_expression, 0)
(EXPR_WFL_LINENO); and column number (EXPR_WFL_COLNO). It is
expanded as the contained node (EXPR_WFL_NODE); a line note should
be emitted first if EXPR_WFL_EMIT_LINE_NOTE. */
+#ifdef USE_MAPPED_LOCATION
+DEFTREECODE (EXPR_WITH_FILE_LOCATION, "expr_with_file_location",
+ tcc_expression, 2)
+#else
DEFTREECODE (EXPR_WITH_FILE_LOCATION, "expr_with_file_location",
tcc_expression, 3)
+#endif
/*
Local variables: