This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

two trivial comment patches in gcc/java


I checked these into the trunk.

2001-12-03  Per Bothner  <per@bothner.com>

	* jcf.h:  Fix obvious typo in comment.
	* typeck.c (build_null_signature):  Add comment.

Index: jcf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/jcf.h,v
retrieving revision 1.25
diff -u -r1.25 jcf.h
--- jcf.h	2001/08/16 21:52:14	1.25
+++ jcf.h	2001/12/03 23:08:21
@@ -233,7 +233,7 @@
  /* Extract a character from a Java-style Utf8 string.
   * PTR points to the current character.
   * LIMIT points to the end of the Utf8 string.
- * PTR is incremented to point after the character thta gets returns.
+ * PTR is incremented to point after the character that gets returned.
   * On an error, -1 is returned. */
  #define UTF8_GET(PTR, LIMIT) \
    ((PTR) >= (LIMIT) ? -1 \
Index: typeck.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/typeck.c,v
retrieving revision 1.43
diff -u -r1.43 typeck.c
--- typeck.c	2001/09/07 08:54:32	1.43
+++ typeck.c	2001/12/03 23:08:22
@@ -589,6 +589,8 @@
    return type;
  }

+/* Ignore signature and always return null.  Used by has_method. */
+
  static tree
  build_null_signature (type)
       tree type ATTRIBUTE_UNUSED;

-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]