This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] java/*: Follow spelling conventions.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Oct 2003 14:06:56 -0400 (EDT)
- Subject: [patch] java/*: Follow spelling conventions.
Hi,
Attached is a patch to follow spelling conventions. Committed as
obvious.
Kazu Hirata
2003-10-22 Kazu Hirata <kazu@cs.umass.edu>
* jcf-write.c: Follow spelling conventions.
* parse.y: Likewise.
Index: jcf-write.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/jcf-write.c,v
retrieving revision 1.138
diff -u -r1.138 jcf-write.c
--- jcf-write.c 22 Oct 2003 18:00:05 -0000 1.138
+++ jcf-write.c 22 Oct 2003 18:04:36 -0000
@@ -3429,7 +3429,7 @@
fatal_error ("error closing %s: %m", temporary_file_name);
/* If a file named by the string pointed to by `new' exists
- prior to the call to the `rename' function, the bahaviour
+ prior to the call to the `rename' function, the behavior
is implementation-defined. ISO 9899-1990 7.9.4.2.
For example, on Win32 with MSVCRT, it is an error. */
Index: parse.y
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/parse.y,v
retrieving revision 1.450
diff -u -r1.450 parse.y
--- parse.y 22 Oct 2003 18:00:06 -0000 1.450
+++ parse.y 22 Oct 2003 18:04:43 -0000
@@ -402,7 +402,7 @@
static GTY(()) tree current_this;
/* Hold a list of catch clauses list. The first element of this list is
- the list of the catch clauses of the currently analysed try block. */
+ the list of the catch clauses of the currently analyzed try block. */
static GTY(()) tree currently_caught_type_list;
/* This holds a linked list of all the case labels for the current
@@ -8514,7 +8514,7 @@
/* There is a potential bug here. We should be able to use
fix_method_argument_names, but then arg names get mixed up and
eventually a constructor will have its this$0 altered and the
- outer context won't be assignment properly. The test case is
+ outer context won't be assignment properly. The testcase is
stub.java FIXME */
TYPE_ARG_TYPES (TREE_TYPE (mdecl)) = args;