* parse.y (patch_switch_statement): Fix format specifier.

From-SVN: r49084
This commit is contained in:
Kaveh R. Ghazi 2002-01-22 19:04:09 +00:00 committed by Kaveh Ghazi
parent 1b21d6a004
commit cc586d706a
2 changed files with 6 additions and 2 deletions

View file

@ -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:

View file

@ -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");