aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/lex.h
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2004-06-21 13:37:46 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2004-06-21 13:37:46 +0100
commitb40410b9083d960fa5ca34def27dc1c2ee61c077 (patch)
tree7b1da446bf66f5879b6e982e36c900e25860b6ec /gcc/java/lex.h
parent3a5b9284da6acc309118a04dcba3a1cbca2ecdd4 (diff)
downloadgcc-b40410b9083d960fa5ca34def27dc1c2ee61c077.zip
gcc-b40410b9083d960fa5ca34def27dc1c2ee61c077.tar.gz
gcc-b40410b9083d960fa5ca34def27dc1c2ee61c077.tar.bz2
tree-alias-common.h (struct tree_alias_ops): Change ip and ip_partial to unsigned int.
* tree-alias-common.h (struct tree_alias_ops): Change ip and ip_partial to unsigned int. fortran: * trans.h (stmtblock_t): Change has_scope to unsigned int. java: * jcf.h (struct JCF): Change java_source, right_zip and finished to unsigned int. * lex.h (struct java_lexer): Change hit_eof, read_anything, byte_swap and use_fallback to unsigned int. * parse.h (struct _jdep): Change flag0 to unsigned int. From-SVN: r83430
Diffstat (limited to 'gcc/java/lex.h')
-rw-r--r--gcc/java/lex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/lex.h b/gcc/java/lex.h
index 213a80f..9a7cad1 100644
--- a/gcc/java/lex.h
+++ b/gcc/java/lex.h
@@ -115,7 +115,7 @@ struct java_lexer
unicode_t unget_value;
/* If nonzero, we've hit EOF. Used only by java_get_unicode(). */
- int hit_eof : 1;
+ unsigned int hit_eof : 1;
/* Name of the character encoding we're using. */
const char *encoding;
@@ -123,13 +123,13 @@ struct java_lexer
#ifdef HAVE_ICONV
/* Nonzero if we've read any bytes. We only recognize the
byte-order-marker (BOM) as the first word. */
- int read_anything : 1;
+ unsigned int read_anything : 1;
/* Nonzero if we have to byte swap. */
- int byte_swap : 1;
+ unsigned int byte_swap : 1;
/* Nonzero if we're using the fallback decoder. */
- int use_fallback : 1;
+ unsigned int use_fallback : 1;
/* The handle for the iconv converter we're using. */
iconv_t handle;