* vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some

things "const".
This commit is contained in:
Jim Kingdon 1991-04-26 22:57:07 +00:00
parent 2d3b429559
commit 81919cc85b
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -39,7 +39,7 @@ struct vot /* vax opcode text */
#define vot_detail detail
#define vot_name name
static struct vot
const static struct vot
votstrs[] =
{
{ "halt", {"", 0x00 } },