summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-22 19:04:09 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-22 19:04:09 +0000
commit7f05f117a239b0926cb0d67605ded0f4cbe1730a (patch)
tree05a7d767f800a7de6f4bb0ef5ad2f7fcd8afd661 /gcc/java
parentfd851023a791f19c89183da9ff4f0090568768a4 (diff)
downloadgcc-7f05f117a239b0926cb0d67605ded0f4cbe1730a.tar.gz
* parse.y (patch_switch_statement): Fix format specifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49084 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/parse.y4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index f150a4db484..5d5625bc6f8 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2002-01-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * parse.y (patch_switch_statement): Fix format specifier.
+
2002-01-16 Tom Tromey <tromey@redhat.com>
More for PR java/5365:
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 2ca0197724e..c00a303cf04 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -15183,8 +15183,8 @@ patch_switch_statement (node)
= EXPR_WFL_LINECOL (TREE_PURPOSE (iter));
/* The case_label_list is in reverse order, so print the
outer label first. */
- parse_error_context (wfl_operator, "duplicate case label: `%d'",
- subval);
+ parse_error_context (wfl_operator, "duplicate case label: `"
+ HOST_WIDE_INT_PRINT_DEC "'", subval);
EXPR_WFL_LINECOL (wfl_operator)
= EXPR_WFL_LINECOL (TREE_PURPOSE (subiter));
parse_error_context (wfl_operator, "original label is here");