summaryrefslogtreecommitdiff
path: root/gcc/java/java-tree.def
diff options
context:
space:
mode:
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: