* ada-lang.c (resolve_subexp): Correct arity of binary operators.
This commit is contained in:
parent
ee90b9ab36
commit
40c8aaa9fe
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
|
|
|
@ -2691,6 +2691,9 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
|
|||
case BINOP_REPEAT:
|
||||
case BINOP_SUBSCRIPT:
|
||||
case BINOP_COMMA:
|
||||
*pos += 1;
|
||||
nargs = 2;
|
||||
break;
|
||||
|
||||
case UNOP_NEG:
|
||||
case UNOP_PLUS:
|
||||
|
|
Loading…
Reference in a new issue