diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-02-28 04:33:26 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-02-28 04:33:26 +0000 |
commit | 8ab1f94d63b7ac57e7236dbd77e9d1467d7c9810 (patch) | |
tree | 5b1e3164f9c79cfbb9752dfebd506adb9fad235c | |
parent | 7e52cbd0c66ef98b19be5b4da97b086bfcdb5df0 (diff) | |
download | gdb-8ab1f94d63b7ac57e7236dbd77e9d1467d7c9810.zip gdb-8ab1f94d63b7ac57e7236dbd77e9d1467d7c9810.tar.gz gdb-8ab1f94d63b7ac57e7236dbd77e9d1467d7c9810.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ada-exp.y | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 041543b..682c9f1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index e56b7bc..e64d1eb 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -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)) |