Minor reformatting in ada-lang.c:assign_aggregate
authorJoel Brobecker <brobecker@gnat.com>
Wed, 23 Nov 2011 19:54:18 +0000 (19:54 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 23 Nov 2011 19:54:18 +0000 (19:54 +0000)
No code change.

gdb/ChangeLog:

        From Andrey Smirnov <andrew.smirnov@gmail.com>:
        * ada-lang.c (assign_aggregate): Minor reformatting.

gdb/ChangeLog
gdb/ada-lang.c

index ea8fb66e424da694fed923214bd192a403a44b0d..0585e1ea15e809cd7d710bb79afb3193b95e4b14 100644 (file)
@@ -1,3 +1,7 @@
+2011-11-23  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * ada-lang.c (assign_aggregate): Minor reformatting.
+
 2011-11-23  Andrey Smirnov  <andrew.smirnov@gmail.com>
 
        * ada-lang.c (assign_aggregate): Remove declaration of local
index 48073fb3d0f9201b1ec0d111fc170f4fae6d120f..e396596f1f224b736113edf52b9224d04bbd4eeb 100644 (file)
@@ -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"));
        }
     }