mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
Minor reformatting in ada-lang.c:assign_aggregate
No code change. gdb/ChangeLog: From Andrey Smirnov <andrew.smirnov@gmail.com>: * ada-lang.c (assign_aggregate): Minor reformatting.
This commit is contained in:
@ -8706,24 +8706,24 @@ assign_aggregate (struct value *container,
|
||||
{
|
||||
switch (exp->elts[*pos].opcode)
|
||||
{
|
||||
case OP_CHOICES:
|
||||
aggregate_assign_from_choices (container, lhs, exp, pos, indices,
|
||||
case OP_CHOICES:
|
||||
aggregate_assign_from_choices (container, lhs, exp, pos, indices,
|
||||
&num_indices, max_indices,
|
||||
low_index, high_index);
|
||||
break;
|
||||
case OP_POSITIONAL:
|
||||
aggregate_assign_positional (container, lhs, exp, pos, indices,
|
||||
&num_indices, max_indices,
|
||||
low_index, high_index);
|
||||
break;
|
||||
case OP_POSITIONAL:
|
||||
aggregate_assign_positional (container, lhs, exp, pos, indices,
|
||||
&num_indices, max_indices,
|
||||
low_index, high_index);
|
||||
break;
|
||||
case OP_OTHERS:
|
||||
if (i != n-1)
|
||||
error (_("Misplaced 'others' clause"));
|
||||
aggregate_assign_others (container, lhs, exp, pos, indices,
|
||||
num_indices, low_index, high_index);
|
||||
break;
|
||||
default:
|
||||
error (_("Internal error: bad aggregate clause"));
|
||||
break;
|
||||
case OP_OTHERS:
|
||||
if (i != n-1)
|
||||
error (_("Misplaced 'others' clause"));
|
||||
aggregate_assign_others (container, lhs, exp, pos, indices,
|
||||
num_indices, low_index, high_index);
|
||||
break;
|
||||
default:
|
||||
error (_("Internal error: bad aggregate clause"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user