diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-03 23:09:42 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-03 23:09:42 +0000 |
commit | 2aec32e1f9b74b37163cdfbc1730652e252691df (patch) | |
tree | eb8e7268cc3f47b7e67d0f7525cc54f9f65139b8 /gcc/java | |
parent | 23f63acee6d5da7d022c5681305e5817755fd1c3 (diff) | |
download | gcc-2aec32e1f9b74b37163cdfbc1730652e252691df.tar.gz |
* jcf.h: Fix obvious typo in comment.
* typeck.c (build_null_signature): Add comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47569 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/jcf.h | 2 | ||||
-rw-r--r-- | gcc/java/typeck.c | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index e61445b7934..8feb252fb4c 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2001-12-03 Per Bothner <per@bothner.com> + + * jcf.h: Fix obvious typo in comment. + * typeck.c (build_null_signature): Add comment. + 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk> * expr.c: Remove leading capital from diagnostic messages, as diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 1feaaa8bccf..434dce11b30 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -233,7 +233,7 @@ extern int jcf_unexpected_eof PARAMS ((JCF*, int)) ATTRIBUTE_NORETURN; /* 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 \ diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c index 4f8a34e752e..34dbc2e2ba7 100644 --- a/gcc/java/typeck.c +++ b/gcc/java/typeck.c @@ -589,6 +589,8 @@ get_type_from_signature (tree signature) return type; } +/* Ignore signature and always return null. Used by has_method. */ + static tree build_null_signature (type) tree type ATTRIBUTE_UNUSED; |