diff options
| author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-14 05:01:05 +0000 |
|---|---|---|
| committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-14 05:01:05 +0000 |
| commit | 4654e794323c05fcfabee95cb2bf334fb30a3873 (patch) | |
| tree | bf1619873e76c17441a1423f1eaba6a4a64f054a /gcc/java/lex.c | |
| parent | 86220f453c768a8deb58678e4010a892011a2cce (diff) | |
| download | ppe42-gcc-4654e794323c05fcfabee95cb2bf334fb30a3873.tar.gz ppe42-gcc-4654e794323c05fcfabee95cb2bf334fb30a3873.zip | |
Added Java 1.1 language features.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32517 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/lex.c')
| -rw-r--r-- | gcc/java/lex.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index 311f697457f..c5de7ed66a0 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -72,6 +72,10 @@ java_init_lex () java_lang_id = get_identifier ("java.lang"); if (!java_lang_cloneable) java_lang_cloneable = get_identifier ("java.lang.Cloneable"); + if (!inst_id) + inst_id = get_identifier ("inst$"); + if (!wpv_id) + wpv_id = get_identifier ("write_parm_value$"); if (!java_lang_imported) { @@ -95,9 +99,9 @@ java_init_lex () if (!wfl_to_string) wfl_to_string = build_expr_wfl (get_identifier ("toString"), NULL, 0, 0); - ctxp->static_initialized = ctxp->non_static_initialized = - ctxp->incomplete_class = NULL_TREE; - + CPC_INITIALIZER_LIST (ctxp) = CPC_STATIC_INITIALIZER_LIST (ctxp) = + CPC_INSTANCE_INITIALIZER_LIST (ctxp) = ctxp->incomplete_class = NULL_TREE; + bzero ((PTR) ctxp->modifier_ctx, 11*sizeof (ctxp->modifier_ctx[0])); bzero ((PTR) current_jcf, sizeof (JCF)); ctxp->current_parsed_class = NULL; |

