aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-09-25 13:49:22 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-09-25 13:49:22 +0000
commit4dd4c7512e1d49328716810ce245772827f97fb2 (patch)
tree0e360aff4616fc788dff646b581c058a5519087f /gcc
parentf3cd574f6b2a45b1cd9153636d0ad1aba1cde806 (diff)
downloadgcc-4dd4c7512e1d49328716810ce245772827f97fb2.zip
gcc-4dd4c7512e1d49328716810ce245772827f97fb2.tar.gz
gcc-4dd4c7512e1d49328716810ce245772827f97fb2.tar.bz2
expr.c, [...]: Fix comment typos.
* expr.c, jcf-dump.c, parse-scan.y, parse.y: Fix comment typos. * gcj.texi: Fix typos. From-SVN: r88099
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/ChangeLog6
-rw-r--r--gcc/java/expr.c2
-rw-r--r--gcc/java/gcj.texi4
-rw-r--r--gcc/java/jcf-dump.c2
-rw-r--r--gcc/java/parse-scan.y2
-rw-r--r--gcc/java/parse.y6
6 files changed, 14 insertions, 8 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 7e7e7eb..60eadf1 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-25 Kazu Hirata <kazu@cs.umass.edu>
+
+ * expr.c, jcf-dump.c, parse-scan.y, parse.y: Fix
+ comment typos.
+ * gcj.texi: Fix typos.
+
2004-09-24 Tom Tromey <tromey@redhat.com>
PR java/15656:
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 33c048f..7cfc874 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -606,7 +606,7 @@ build_java_jsr (int target_pc, int return_pc)
flush_quick_stack ();
java_add_stmt (build1 (GOTO_EXPR, void_type_node, where));
- /* Do not need to emit the label here. We noted the existance of the
+ /* Do not need to emit the label here. We noted the existence of the
label as a jump target in note_instructions; we'll emit the label
for real at the beginning of the expand_byte_code loop. */
}
diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi
index ba2c5d7..1ef0bab 100644
--- a/gcc/java/gcj.texi
+++ b/gcc/java/gcj.texi
@@ -185,7 +185,7 @@ Java bytecode files.
An archive containing one or more @code{.class} files, all of
which are compiled. The archive may be compressed. Files in
an archive which don't end with @samp{.class} are treated as
-resource files; they are copmiled into the resulting object file
+resource files; they are compiled into the resulting object file
as @samp{core:} URLs.
@item @@@var{file}
A file containing a whitespace-separated list of input file names.
@@ -386,7 +386,7 @@ of the previous mechanism) has some advantages: it is compatible with
static linking, and does not require configuring or installing libraries.
@end itemize
-These @code{gij} options relate to linking an execitable:
+These @code{gij} options relate to linking an executable:
@table @gcctabopt
@item --main=@var{CLASSNAME}
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c
index 98e5c92..2984c82 100644
--- a/gcc/java/jcf-dump.c
+++ b/gcc/java/jcf-dump.c
@@ -91,7 +91,7 @@ int this_class_index = 0;
int class_access_flags = 0;
-/* Print in format similar to javap. VERY IMCOMPLETE. */
+/* Print in format similar to javap. VERY INCOMPLETE. */
int flag_javap_compatible = 0;
static void print_access_flags (FILE *, uint16, char);
diff --git a/gcc/java/parse-scan.y b/gcc/java/parse-scan.y
index 06409b2..e05fdb5 100644
--- a/gcc/java/parse-scan.y
+++ b/gcc/java/parse-scan.y
@@ -927,7 +927,7 @@ primary_no_new_array:
| array_access
| type_literals
/* Added, JDK1.1 inner classes. Documentation is wrong
- refering to a 'ClassName' (class_name) rule that doesn't
+ referring to a 'ClassName' (class_name) rule that doesn't
exist. Used name instead. */
| name DOT_TK THIS_TK
{ USE_ABSORBER; }
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 0a72599..8ac79ea 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -1961,7 +1961,7 @@ primary_no_new_array:
| array_access
| type_literals
/* Added, JDK1.1 inner classes. Documentation is wrong
- refering to a 'ClassName' (class_name) rule that doesn't
+ referring to a 'ClassName' (class_name) rule that doesn't
exist. Used name: instead. */
| name DOT_TK THIS_TK
{
@@ -2068,7 +2068,7 @@ anonymous_class_creation:
later on in verify_constructor_super.
It's during the expansion of a `new' statement
- refering to an anonymous class that a ctor will
+ referring to an anonymous class that a ctor will
be generated for the anonymous class, with the
right arguments. */
@@ -15364,7 +15364,7 @@ patch_try_statement (tree node)
/* Check catch clauses, if any. Every time we find an error, we try
to process the next catch clause. We process the catch clause before
the try block so that when processing the try block we can check thrown
- exceptions againts the caught type list. */
+ exceptions against the caught type list. */
for (current = catch; current; current = TREE_CHAIN (current))
{
tree carg_decl, carg_type;