[multiple changes]
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Tue, 25 May 1999 16:36:07 +0000 (16:36 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Tue, 25 May 1999 16:36:07 +0000 (09:36 -0700)
Tue May 25 15:06:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (patch_assignment): Save the rhs before using it as an
        argument to _Jv_CheckArrayStore.
Tue May 25 11:23:59 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* lex.c (java_parse_doc_section): Fixed `tag' buffer size.
Mon May 24 13:26:00 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * lex.c (java_lex): Accepts `+' or `-' after the beginning of a
        floating point litteral only when the exponent indicator has been
        parsed.

From-SVN: r27147

gcc/java/ChangeLog
gcc/java/lex.c
gcc/java/parse.c
gcc/java/parse.y

index a96423df7be87d2a0020c1c77686b35a06ce84ea..ed91c91f210acf48c3e523f7f515a448b8ab243d 100644 (file)
@@ -1,3 +1,18 @@
+Tue May 25 15:06:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+        * parse.y (patch_assignment): Save the rhs before using it as an
+        argument to _Jv_CheckArrayStore.
+Tue May 25 11:23:59 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * lex.c (java_parse_doc_section): Fixed `tag' buffer size.
+
+Mon May 24 13:26:00 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+        * lex.c (java_lex): Accepts `+' or `-' after the beginning of a
+        floating point litteral only when the exponent indicator has been
+        parsed.
+
 Sat May 22 13:54:41 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
        * parse.y (formal_parameter:): Construct argument tree list
index 18d873fb135c7d61a1ee50692f1c09ab9e0175ce..fbaa23d80f0571504d95d86e9205eb1aa7d3210b 100644 (file)
@@ -427,7 +427,7 @@ java_parse_doc_section (c)
   /* We're parsing @deprecated */
   if (valid_tag && (c == '@'))
     {
-      char tag [10];
+      char tag [11];
       int  tag_index = 0;
 
       while (tag_index < 10 && c != UEOF && c != ' ' && c != '\n')
@@ -741,7 +741,7 @@ java_lex (java_lval)
                  stage = 4;    /* So we fall through */
                }
 
-             if ((c=='-' || c =='+') && stage < 3)
+             if ((c=='-' || c =='+') && stage == 2)
                {
                  stage = 3;
                  literal_token [literal_index++] = c;
index 9fa65e8acf8edee67511fee076fdd9a276bf8049..478428552d8151956eb730bef6dcc8b3438935eb 100644 (file)
@@ -11432,6 +11432,7 @@ patch_assignment (node, wfl_op1, wfl_op2)
        }
 
       /* Build the invocation of _Jv_CheckArrayStore */
+      new_rhs = save_expr (new_rhs);
       check = build (CALL_EXPR, void_type_node,
                     build_address_of (soft_checkarraystore_node),
                     tree_cons (NULL_TREE, base,
index 5357003609ef3713ba3128a9ad540830d2b75154..69918a9c1c368044250f90c3634192db991062d7 100644 (file)
@@ -8847,6 +8847,7 @@ patch_assignment (node, wfl_op1, wfl_op2)
        }
 
       /* Build the invocation of _Jv_CheckArrayStore */
+      new_rhs = save_expr (new_rhs);
       check = build (CALL_EXPR, void_type_node,
                     build_address_of (soft_checkarraystore_node),
                     tree_cons (NULL_TREE, base,