aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/lex.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>1999-02-09 19:40:16 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>1999-02-09 11:40:16 -0800
commit09ed0f70df0fff76c72c37fb79b61dc35b1c23a9 (patch)
tree96e4f200dc82cf44beffcb101b08e9f0c735c137 /gcc/java/lex.c
parent95d62815b5c001319c1e1f0b8746342e65dec86a (diff)
downloadgcc-09ed0f70df0fff76c72c37fb79b61dc35b1c23a9.zip
gcc-09ed0f70df0fff76c72c37fb79b61dc35b1c23a9.tar.gz
gcc-09ed0f70df0fff76c72c37fb79b61dc35b1c23a9.tar.bz2
lex.c (java_lang_cloneable): Initialize.
Tue Feb 9 19:31:09 1999 Alexandre Petit-Bianco <apbianco@cygnus.com> * lex.c (java_lang_cloneable): Initialize. * parse.y (java_lang_cloneable): New static variable. (qualify_ambiguous_name): Take CONVERT_EXPR into account when doing one more qualification round. (valid_ref_assignconv_cast_p): Reject null source or destination. Allow an array to be cast into java.lang.Cloneable. (patch_cast): Swapped two first arguments to first call to valid_ref_assignconv_cast_p. From-SVN: r25114
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r--gcc/java/lex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c
index 1765a15..e376fcf 100644
--- a/gcc/java/lex.c
+++ b/gcc/java/lex.c
@@ -79,6 +79,8 @@ java_init_lex ()
#ifndef JC1_LITE
if (!java_lang_id)
java_lang_id = get_identifier ("java.lang");
+ if (!java_lang_cloneable)
+ java_lang_cloneable = get_identifier ("java.lang.Cloneable");
if (!java_lang_imported)
{