summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-25 13:49:22 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-25 13:49:22 +0000
commit2ddee53c9aca8643d17847b15409f28119b55f26 (patch)
tree0e360aff4616fc788dff646b581c058a5519087f
parent41fc6ce4194416f39ae2907317ac9c5975dac36b (diff)
downloadgcc-2ddee53c9aca8643d17847b15409f28119b55f26.tar.gz
* expr.c, jcf-dump.c, parse-scan.y, parse.y: Fix
comment typos. * gcj.texi: Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88099 138bc75d-0d04-0410-961f-82ee72b054a4
-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 7e7e7eb6ffb..60eadf16810 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 33c048fe5e4..7cfc874e36f 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 ba2c5d725dd..1ef0babb4c0 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 98e5c924898..2984c825c4b 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 06409b244c5..e05fdb5f529 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 0a725997869..8ac79eaf9ea 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;