aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-02-03 16:21:55 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-02-03 16:21:55 +0000
commit5041541e41d601397af25539d0c94cccff320188 (patch)
treefa790caf0e354f821c5c0f2f2c49024d43c1d092 /gcc/java
parentd1ad84c20452e63a38a6b414a6eb7001711c520a (diff)
downloadgcc-5041541e41d601397af25539d0c94cccff320188.zip
gcc-5041541e41d601397af25539d0c94cccff320188.tar.gz
gcc-5041541e41d601397af25539d0c94cccff320188.tar.bz2
* java-tree.h, javaop.def, jcf-parse.c: Fix comment typos.
From-SVN: r121543
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/java-tree.h2
-rw-r--r--gcc/java/javaop.def2
-rw-r--r--gcc/java/jcf-parse.c2
4 files changed, 7 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 99e629b..6333d01 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2007-02-03 Kazu Hirata <kazu@codesourcery.com>
+
+ * java-tree.h, javaop.def, jcf-parse.c: Fix comment typos.
+
2007-02-02 Andrew Haley <aph@redhat.com>
* expr.c (expand_byte_code): Call cache_this_class_ref() and
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index f564b59..ab3ff47 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -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
diff --git a/gcc/java/javaop.def b/gcc/java/javaop.def
index cf5a906..bb35430 100644
--- a/gcc/java/javaop.def
+++ b/gcc/java/javaop.def
@@ -88,7 +88,7 @@ TEST: Compares an integer (popped from the stack) against zero.
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.
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 59b9e89..39abb57 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -259,7 +259,7 @@ java_read_sourcefilenames (const char *fsource_filename)
/* 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