aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mep-asm.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-03-16 11:52:09 +1030
committerAlan Modra <amodra@gmail.com>2023-03-16 17:30:19 +1030
commit3e8b13bf7745cde3a0bb027041df7cad4b29b510 (patch)
tree65d00cc9757ad557c8428cb4cd013d88d71bf97d /opcodes/mep-asm.c
parent0961e631575b0a1eafccf32fbde56d456aef9169 (diff)
downloadgdb-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.c9
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;
}