This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] trans-expr.c: Fix comment typos.


Hi,

Committed as obvious.

Kazu Hirata

2005-05-30  Kazu Hirata  <kazu@cs.umass.edu>

	* trans-expr.c: Fix comment typos.

Index: trans-expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/trans-expr.c,v
retrieving revision 1.46
diff -u -d -p -r1.46 trans-expr.c
--- trans-expr.c	30 May 2005 15:03:46 -0000	1.46
+++ trans-expr.c	30 May 2005 15:32:14 -0000
@@ -372,7 +372,7 @@ gfc_conv_variable (gfc_se * se, gfc_expr
 	}
       else
 	{
-          /* Dereference non-charcter scalar dummy arguments.  */
+          /* Dereference non-character scalar dummy arguments.  */
 	  if ((sym->attr.dummy) && (!sym->attr.dimension))
 	    se->expr = gfc_build_indirect_ref (se->expr);
 
@@ -383,7 +383,7 @@ gfc_conv_variable (gfc_se * se, gfc_expr
 	    se->expr = gfc_build_indirect_ref (se->expr);
 
           /* Dereference non-character pointer variables. 
-	     These must be dummys or results or scalars.  */
+	     These must be dummies, results, or scalars.  */
 	  if ((sym->attr.pointer || sym->attr.allocatable)
 	      && ((sym->attr.dummy) 
 		  || (sym->attr.function || sym->attr.result)


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