Commit 98a63868 by Per Bothner Committed by Per Bothner

jcf.h: Fix obvious typo in comment.


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

From-SVN: r47569
parent a76033a0
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> 2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
* expr.c: Remove leading capital from diagnostic messages, as * expr.c: Remove leading capital from diagnostic messages, as
......
...@@ -233,7 +233,7 @@ extern int jcf_unexpected_eof PARAMS ((JCF*, int)) ATTRIBUTE_NORETURN; ...@@ -233,7 +233,7 @@ extern int jcf_unexpected_eof PARAMS ((JCF*, int)) ATTRIBUTE_NORETURN;
/* Extract a character from a Java-style Utf8 string. /* Extract a character from a Java-style Utf8 string.
* PTR points to the current character. * PTR points to the current character.
* LIMIT points to the end of the Utf8 string. * 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. */ * On an error, -1 is returned. */
#define UTF8_GET(PTR, LIMIT) \ #define UTF8_GET(PTR, LIMIT) \
((PTR) >= (LIMIT) ? -1 \ ((PTR) >= (LIMIT) ? -1 \
......
...@@ -589,6 +589,8 @@ get_type_from_signature (tree signature) ...@@ -589,6 +589,8 @@ get_type_from_signature (tree signature)
return type; return type;
} }
/* Ignore signature and always return null. Used by has_method. */
static tree static tree
build_null_signature (type) build_null_signature (type)
tree type ATTRIBUTE_UNUSED; tree type ATTRIBUTE_UNUSED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment