This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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

2007-02-03  Kazu Hirata  <kazu@codesourcery.com>

	* java-tree.h, javaop.def, jcf-parse.c: Fix comment typos.

Index: java/java-tree.h
===================================================================
--- java/java-tree.h	(revision 121541)
+++ java/java-tree.h	(working copy)
@@ -764,7 +764,7 @@ union lang_tree_node 
 #define FIELD_LOCAL_ALIAS(DECL) DECL_LANG_FLAG_6 (VAR_OR_FIELD_CHECK (DECL))
 
 /* True when DECL, which aliases an outer context local variable is
-   used by the inner classe */
+   used by the inner classes.  */
 #define FIELD_LOCAL_ALIAS_USED(DECL) DECL_LANG_FLAG_7 (VAR_OR_FIELD_CHECK (DECL))
 
 /* True when DECL is a this$<n> field. Note that
Index: java/javaop.def
===================================================================
--- java/javaop.def	(revision 121541)
+++ java/javaop.def	(working copy)
@@ -88,7 +88,7 @@ TEST: Compares an integer (popped from t
 	If the test (in OPERAND_VALUE) is true, goto a relative
 	offset given by the next two bytes.
 
-COND:  Compares two values (popped from the stack) againt each other.
+COND:  Compares two values (popped from the stack) against each other.
 	If the test (in OPERAND_VALUE) is true, goto a relative
 	offset given by the next two bytes.
 
Index: java/jcf-parse.c
===================================================================
--- java/jcf-parse.c	(revision 121541)
+++ java/jcf-parse.c	(working copy)
@@ -259,7 +259,7 @@ java_read_sourcefilenames (const char *f
 /* Given a relative pathname such as foo/bar.java, attempt to find a
    longer pathname with the same suffix.  
 
-   This is a best guess heuristic; with some weird class hierarcies we
+   This is a best guess heuristic; with some weird class hierarchies we
    may fail to pick the correct source file.  For example, if we have
    the filenames foo/bar.java and also foo/foo/bar.java, we do not
    have enough information to know which one is the right match for


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