diff options
author | Alan Modra <amodra@gmail.com> | 2023-03-16 11:52:09 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-03-16 17:30:19 +1030 |
commit | 3e8b13bf7745cde3a0bb027041df7cad4b29b510 (patch) | |
tree | 65d00cc9757ad557c8428cb4cd013d88d71bf97d /opcodes/mep-asm.c | |
parent | 0961e631575b0a1eafccf32fbde56d456aef9169 (diff) | |
download | gdb-3e8b13bf7745cde3a0bb027041df7cad4b29b510.zip gdb-3e8b13bf7745cde3a0bb027041df7cad4b29b510.tar.gz gdb-3e8b13bf7745cde3a0bb027041df7cad4b29b510.tar.bz2 |
cpu/mem.opc whitespace tidy
cpu/
* mep.opc: Whitespace and formatting.
opcodes/
* mep-asm.c: Regenerate.
* mep-dis.c: Regenerate.
Diffstat (limited to 'opcodes/mep-asm.c')
-rw-r--r-- | opcodes/mep-asm.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/opcodes/mep-asm.c b/opcodes/mep-asm.c index 219c448..f3c5f79 100644 --- a/opcodes/mep-asm.c +++ b/opcodes/mep-asm.c @@ -638,10 +638,10 @@ expand_macro (arg *args, int narg, const macro *mac) /* printf("expanding macro %s with %d args\n", mac->name, narg + 1); */ while (*e) { - if (*e == '`' && - (*e+1) && - ((*(e + 1) - '1') <= MAXARGS) && - ((*(e + 1) - '1') <= narg)) + if (*e == '`' + && (*e+1) + && ((*(e + 1) - '1') <= MAXARGS) + && ((*(e + 1) - '1') <= narg)) { result = str_append (result, mark, e - mark); mac_arg = (*(e + 1) - '1'); @@ -759,7 +759,6 @@ expand_string (const char *in, int first_only) if (narg > -1) args[narg].len++; } - } ++in; } |