Patchwork Fix typo of the comment in resource.h

login
register
mail settings
Submitter Mingjie Xing
Date Nov. 15, 2010, 5:11 a.m.
Message ID <AANLkTi=vvGtSN5qb3r-h6C5yJCzuGK9PP=G_tsb+N=mc@mail.gmail.com>
Download mbox | patch
Permalink /patch/71177/
State New
Headers show

Comments

Mingjie Xing - Nov. 15, 2010, 5:11 a.m.
Hi

This small patch fix the typo of the comment in resource.h. Is it OK?

Thanks,
Mingjie

2010-11-15  Mingjie Xing  <mingjie.xing@gmail.com>

        * resource.h (struct resources): Fix typo in the comment.
Dave Korn - Nov. 15, 2010, 6:37 a.m.
On 15/11/2010 05:11, Mingjie Xing wrote:
> Hi
> 
> This small patch fix the typo of the comment in resource.h. Is it OK?

  I cannot approve the patch, but spotted an additional grammar problem that
you could fix at the same time:

-  char unch_memory;	/* Insn sets of needs a "unchanging" MEM.  */
+  char unch_memory;	/* Insn sets or needs a "unchanging" MEM.  */

  It should be 'an "unchanging" ...', not 'a "unchanging" ...'.

    cheers,
      DaveK

Patch

Index: resource.h
===================================================================
--- resource.h	(revision 163986)
+++ resource.h	(working copy)
@@ -33,7 +33,7 @@  along with GCC; see the file COPYING3.  
 struct resources
 {
   char memory;		/* Insn sets or needs a memory location.  */
-  char unch_memory;	/* Insn sets of needs a "unchanging" MEM.  */
+  char unch_memory;	/* Insn sets or needs a "unchanging" MEM.  */
   char volatil;		/* Insn sets or needs a volatile memory loc.  */
   char cc;		/* Insn sets or needs the condition codes.  */
   HARD_REG_SET regs;	/* Which registers are set or needed.  */