summaryrefslogtreecommitdiff
path: root/gcc/java/java-tree.def
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-30 02:16:00 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-30 02:16:00 +0000
commit21f3b5b41252fc311cd8881d338d12a481cab219 (patch)
tree3fa17ee92a3bfa8794ed1b9bee93f0ebb4d2e19b /gcc/java/java-tree.def
parentc5aba89cbeb33915490124fa5565c7bfc5702d18 (diff)
downloadgcc-21f3b5b41252fc311cd8881d338d12a481cab219.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88323 138bc75d-0d04-0410-961f-82ee72b054a4
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 2f2b9f467eb..1cdbc573067 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: