mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* eval.c (evaluate_subexp_standard): Revert inadvertent change.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-05-11 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* eval.c (evaluate_subexp_standard): Revert inadvertent change.
|
||||
|
||||
2010-05-10 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* utils.c: White space cleanup.
|
||||
|
||||
@@ -2033,8 +2033,8 @@ evaluate_subexp_standard (struct type *expect_type,
|
||||
error (_("':' operator used in invalid context"));
|
||||
|
||||
case BINOP_SUBSCRIPT:
|
||||
arg1 = evaluate_subexp (NULL_TYPE, exp, pos, noside);
|
||||
arg2 = evaluate_subexp (NULL_TYPE, exp, pos, noside);
|
||||
arg1 = evaluate_subexp_with_coercion (exp, pos, noside);
|
||||
arg2 = evaluate_subexp_with_coercion (exp, pos, noside);
|
||||
if (noside == EVAL_SKIP)
|
||||
goto nosideret;
|
||||
if (binop_user_defined_p (op, arg1, arg2))
|
||||
|
||||
Reference in New Issue
Block a user