This is the mail archive of the binutils@sources.redhat.com 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]

Re: [patch] tc-*.[ch]: Fix formatting.


On Sun, Jul 22, 2001 at 10:41:54PM +0000, Kazu Hirata wrote:
> 
> Attached is a patch to fix formatting of tc-*.[ch].  OK to apply?

OK.

> --- tc-m68k.c	2001/07/18 10:25:57	1.28
> +++ tc-m68k.c	2001/07/22 18:27:20
> @@ -257,9 +257,9 @@
>       const struct m68k_incant *opcode;
>  {
>    int z;
> -  for(z=the_ins.numo;z>opcode->m_codenum;--z)
> +  for (z=the_ins.numo;z>opcode->m_codenum;--z)

Since you're reformatting this line
     for (z = the_ins.numo; z > opcode->m_codenum; --z)

>      the_ins.opcode[z]=the_ins.opcode[z-1];
> -  for(z=0;z<the_ins.nrel;z++)
> +  for (z=0;z<the_ins.nrel;z++)
     for (z = 0; z < the_ins.nrel; z++)


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