From: Kazu Hirata Date: Sat, 25 Sep 2004 13:49:22 +0000 (+0000) Subject: expr.c, [...]: Fix comment typos. X-Git-Tag: releases/gcc-4.0.0~4596 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dd4c7512e1d49328716810ce245772827f97fb2;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 7e7e7eb6ffba..60eadf16810d 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2004-09-25 Kazu Hirata + + * expr.c, jcf-dump.c, parse-scan.y, parse.y: Fix + comment typos. + * gcj.texi: Fix typos. + 2004-09-24 Tom Tromey PR java/15656: diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 33c048fe5e4c..7cfc874e36f1 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 ba2c5d725dd8..1ef0babb4c0f 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 98e5c9248985..2984c825c4b8 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 06409b244c5e..e05fdb5f5293 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 0a7259978694..8ac79eaf9eaf 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;