aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/keyword.gperf
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/keyword.gperf')
-rw-r--r--gcc/java/keyword.gperf4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/keyword.gperf b/gcc/java/keyword.gperf
index 2d28812..4256ca7 100644
--- a/gcc/java/keyword.gperf
+++ b/gcc/java/keyword.gperf
@@ -25,7 +25,7 @@ of Sun Microsystems, Inc. in the United States and other countries.
The Free Software Foundation is independent of Sun Microsystems, Inc. */
%}
-struct java_keyword { const char *const name; int token; };
+struct java_keyword { const char *const name; const int token; };
#ifdef __GNUC__
__inline
#endif
@@ -33,7 +33,7 @@ static unsigned int hash PARAMS ((const char *, unsigned int));
#ifdef __GNUC__
__inline
#endif
-struct java_keyword *java_keyword PARAMS ((const char *, unsigned int));
+const struct java_keyword *java_keyword PARAMS ((const char *, unsigned int));
%%
abstract, ABSTRACT_TK
default, DEFAULT_TK