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] java: Fix comment typos.


Hi,

Committed as obvious.

Kazu Hirata

2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>

	* class.c, gjavah.c, lang.c: Fix comment typos.
	* gcj.texi: Fix typos.

Index: class.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/class.c,v
retrieving revision 1.179
diff -u -p -r1.179 class.c
--- class.c	19 Mar 2004 23:10:54 -0000	1.179
+++ class.c	20 Mar 2004 13:51:56 -0000
@@ -201,7 +201,7 @@ add_assume_compiled (const char *ident, 
   add_class_flag (&assume_compiled_tree, ident, excludep);
 }
 
-/* The default value returned by enable_asserstions. */
+/* The default value returned by enable_assertions. */
 
 #define DEFAULT_ENABLE_ASSERT (flag_emit_class_files || optimize == 0)
 
@@ -240,7 +240,7 @@ assume_compiled (const char *ident)
 bool
 enable_assertions (tree klass)
 {
-  /* Check if command-line specifies whether we should check asserrtions. */
+  /* Check if command-line specifies whether we should check assertions. */
 
   if (klass != NULL_TREE && DECL_NAME (klass) && enable_assert_tree != NULL)
     {
Index: gjavah.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/gjavah.c,v
retrieving revision 1.112
diff -u -p -r1.112 gjavah.c
--- gjavah.c	10 Feb 2004 19:12:34 -0000	1.112
+++ gjavah.c	20 Mar 2004 13:52:00 -0000
@@ -1416,7 +1416,7 @@ print_c_decl (FILE* stream, JCF* jcf, in
 	}
 
       /* Force the alignment of the first data member.  This is
-	 because the "new" C++ ABI changed the alignemnt of non-POD
+	 because the "new" C++ ABI changed the alignment of non-POD
 	 classes.  gcj, however, still uses the "old" alignment.  */
       if (is_first_data_member && ! (flags & ACC_STATIC) && ! is_method)
 	{
Index: lang.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/lang.c,v
retrieving revision 1.150
diff -u -p -r1.150 lang.c
--- lang.c	19 Mar 2004 23:10:55 -0000	1.150
+++ lang.c	20 Mar 2004 13:52:02 -0000
@@ -949,7 +949,7 @@ merge_init_test_initialization (void **e
   
   However, what if the method that is suppoed to do the initialization
   is itself inlined in the caller?  When expanding the called method
-  we'll assume that the class initalization has already been done,
+  we'll assume that the class initialization has already been done,
   because the DECL_INITIAL of the init_test_decl is set.
   
   To fix this we remove the DECL_INITIAL (in the caller scope) of all
Index: gcj.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/gcj.texi,v
retrieving revision 1.59
diff -u -p -r1.59 gcj.texi
--- gcj.texi	20 Mar 2004 00:06:43 -0000	1.59
+++ gcj.texi	20 Mar 2004 13:52:06 -0000
@@ -435,7 +435,7 @@ optimization off, regardless of the opti
 @item --disable-assertions[=@var{class-or-package}]
 Don't include code for checking assertions in the compiled code.
 If @code{=@var{class-or-package}} is missing disables assertion code
-generation for all classes, unless overrideen by a more
+generation for all classes, unless overridden by a more
 specific @code{--enable-assertions} flag.
 If @var{class-or-package} is a class name, only disables generating
 assertion checks within the named class or its inner classes.
@@ -443,7 +443,7 @@ If @var{class-or-package} is a package n
 assertion checks within the named package or a subpackage.
 
 By default, assertions are enabled when generating class files
-or when not optimizaing, and disabled when generating optimized binaries.
+or when not optimizing, and disabled when generating optimized binaries.
 
 @item --enable-assertions[=@var{class-or-package}]
 Generates code to check assertions.  The option is perhaps misnamed,


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