diff mbox

Fix typo of the comment in resource.h

Message ID AANLkTi=vvGtSN5qb3r-h6C5yJCzuGK9PP=G_tsb+N=mc@mail.gmail.com
State New
Headers show

Commit Message

Mingjie Xing Nov. 15, 2010, 5:11 a.m. UTC
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.

Comments

Dave Korn Nov. 15, 2010, 6:37 a.m. UTC | #1
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
diff mbox

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.  */