add FALLTHROUGH comment in ada-exp.y:write_object_renaming
authorJoel Brobecker <brobecker@gnat.com>
Mon, 28 Feb 2011 04:33:26 +0000 (04:33 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 28 Feb 2011 04:33:26 +0000 (04:33 +0000)
gdb/ChangeLog:

  From Michael Snyder  <msnyder@vmware.com>
  * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment.

gdb/ChangeLog
gdb/ada-exp.y

index 041543b310f1a007840411f5e92d35568940f9a2..682c9f1b3566eb560c3e741a54972ac20659b021 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-28  Joel Brobecker  <brobecker@adacore.com>
+
+       From Michael Snyder  <msnyder@vmware.com>
+       * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment.
+
 2011-02-27  Michael Snyder  <msnyder@vmware.com>
 
        * objc-lang.c (selectors_info): Prevent string overrun.
index e56b7bcb28b53379623eb28f02bfcd50ccd056d0..e64d1eb4566ff66c5e8a37a2636323df6a15ed1e 100644 (file)
@@ -920,6 +920,7 @@ write_object_renaming (struct block *orig_left_context,
         break;
       case 'L':
        slice_state = LOWER_BOUND;
+       /* FALLTHROUGH */
       case 'S':
        renaming_expr += 1;
        if (isdigit (*renaming_expr))