summaryrefslogtreecommitdiffstats
path: root/gdb/expprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index 9e1e9d2029..e001378ed9 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -50,7 +50,7 @@ struct op_print
int right_assoc;
};
-static struct op_print op_print_tab[] =
+const static struct op_print op_print_tab[] =
{
{",", BINOP_COMMA, PREC_COMMA, 0},
{"=", BINOP_ASSIGN, PREC_ASSIGN, 1},
@@ -275,6 +275,7 @@ print_subexp (exp, pos, stream, prec)
op_str = op_print_tab[tem].string;
break;
}
+ break;
case OP_THIS:
++(*pos);
OpenPOWER on IntegriCloud