aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r--gcc/java/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 7c50c97..acf00d9 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -357,7 +357,7 @@ struct parser_ctxt *ctxp_for_generation = NULL;
covers both integral/floating point division. The code is changed
once the type of both operator is worked out. */
-static enum tree_code binop_lookup[19] =
+static const enum tree_code binop_lookup[19] =
{
PLUS_EXPR, MINUS_EXPR, MULT_EXPR, RDIV_EXPR, TRUNC_MOD_EXPR,
LSHIFT_EXPR, RSHIFT_EXPR, URSHIFT_EXPR,