This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Add fall through comment to source in cpu/


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b781683b71a1fc70c4d925ebe1bc943203dd7419

commit b781683b71a1fc70c4d925ebe1bc943203dd7419
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Oct 6 20:41:13 2016 +1030

    Add fall through comment to source in cpu/
    
    I edited opcodes/mep-asm.c in 1a0670f3 without noticing it was a
    generated file.
    
    	* mep.opc (expand_string): Add fall through comment.

Diff:
---
 cpu/ChangeLog | 4 ++++
 cpu/mep.opc   | 1 +
 2 files changed, 5 insertions(+)

diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index e62e29f..47c86a9 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,7 @@
+2016-10-06  Alan Modra  <amodra@gmail.com>
+
+	* mep.opc (expand_string): Add fall through comment.
+
 2016-03-03  Alan Modra  <amodra@gmail.com>
 
 	* fr30.cpu (f-m4): Replace bogus comment with a better guess
diff --git a/cpu/mep.opc b/cpu/mep.opc
index 6b4e9ff..7ed3ea8 100644
--- a/cpu/mep.opc
+++ b/cpu/mep.opc
@@ -790,6 +790,7 @@ expand_string (const char *in, int first_only)
 		  break;
 		case '(':
 		  depth++;
+		  /* Fall through.  */
 		default:
 		  args[narg].len++;
 		  break;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]