2010-06-04 Sergio Durigan Junior <sergiodj@redhat.com>
* ada-lang.c (ada_operator_length): Constify `struct expression'. * parse.c (operator_length): Likewise. (operator_length_standard): Likewise. * parser-defs.h (operator_length): Likewise. (operator_length_standard): Likewise. (struct exp_descriptor <operator_length>): Likewise.
This commit is contained in:
parent
bddaacb97a
commit
554794dcf2
4 changed files with 18 additions and 6 deletions
|
@ -11084,7 +11084,8 @@ ada_decode_assert_location (char *args, char **addr_string,
|
|||
OP_DEFN (OP_DISCRETE_RANGE, 1, 2, 0)
|
||||
|
||||
static void
|
||||
ada_operator_length (struct expression *exp, int pc, int *oplenp, int *argsp)
|
||||
ada_operator_length (const struct expression *exp, int pc, int *oplenp,
|
||||
int *argsp)
|
||||
{
|
||||
switch (exp->elts[pc - 1].opcode)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue