add FALLTHROUGH comment in ada-exp.y:write_object_renaming

gdb/ChangeLog:

 	From Michael Snyder  <msnyder@vmware.com>
 	* ada-exp.y (write_object_renaming): Add FALLTHROUGH comment.
This commit is contained in:
Joel Brobecker 2011-02-28 04:33:26 +00:00
parent 7e52cbd0c6
commit 8ab1f94d63
2 changed files with 6 additions and 0 deletions

View 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.

View 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))