mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-25 16:36:51 +08:00
* ada-lang.c (resolve_subexp): Correct arity of binary operators.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-08-15 Paul Hilfinger <hilfinger@adacore.com>
|
||||||
|
Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
* ada-lang.c (resolve_subexp): Correct arity of binary operators.
|
||||||
|
|
||||||
2007-08-15 Paul Hilfinger <hilfinger@adacore.com>
|
2007-08-15 Paul Hilfinger <hilfinger@adacore.com>
|
||||||
Joel Brobecker <brobecker@adacore.com>
|
Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
@ -2691,6 +2691,9 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
|
|||||||
case BINOP_REPEAT:
|
case BINOP_REPEAT:
|
||||||
case BINOP_SUBSCRIPT:
|
case BINOP_SUBSCRIPT:
|
||||||
case BINOP_COMMA:
|
case BINOP_COMMA:
|
||||||
|
*pos += 1;
|
||||||
|
nargs = 2;
|
||||||
|
break;
|
||||||
|
|
||||||
case UNOP_NEG:
|
case UNOP_NEG:
|
||||||
case UNOP_PLUS:
|
case UNOP_PLUS:
|
||||||
|
Reference in New Issue
Block a user