aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/lex.h')
-rw-r--r--gcc/java/lex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/java/lex.h b/gcc/java/lex.h
index c339cc1..213a80f 100644
--- a/gcc/java/lex.h
+++ b/gcc/java/lex.h
@@ -116,6 +116,9 @@ struct java_lexer
/* If nonzero, we've hit EOF. Used only by java_get_unicode(). */
int hit_eof : 1;
+
+ /* Name of the character encoding we're using. */
+ const char *encoding;
#ifdef HAVE_ICONV
/* Nonzero if we've read any bytes. We only recognize the