parse-scan.y (pop_class_context): Reset `inner_qualifier_length' when negative *before* using it as an array index.
2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse-scan.y (pop_class_context): Reset `inner_qualifier_length' when negative *before* using it as an array index. * ChangeLog: Fixed typo. (Fixes the following bogus patch: http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00937.html) From-SVN: r32793
This commit is contained in:
parent
29a72a4f09
commit
acbedd7cc0
@ -1,3 +1,9 @@
|
||||
2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* parse-scan.y (pop_class_context): Reset `inner_qualifier_length'
|
||||
when negative *before* using it as an array index.
|
||||
* ChangeLog: Fixed typo.
|
||||
|
||||
2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* parse-scan.y (pop_class_context): Reset `inner_qualifier_length'
|
||||
@ -6,7 +12,7 @@
|
||||
2000-03-27 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* jcf-parse.c (get_constant): Properly cast `num' during the
|
||||
invocation of `add_double call'.
|
||||
invocation of `add_double'.
|
||||
* jcf-write.c (push_long_const): Properly cast `lo' before
|
||||
comparing it to short bounds.
|
||||
* parse-scan.y (interface_declaration:): Rule re-arrange so that
|
||||
|
@ -2495,9 +2495,9 @@ pop_class_context ()
|
||||
&& inner_qualifier [inner_qualifier_length-1] != '$')
|
||||
;
|
||||
inner_qualifier = xrealloc (inner_qualifier, inner_qualifier_length+1);
|
||||
inner_qualifier [inner_qualifier_length] = '\0';
|
||||
if (inner_qualifier_length == -1)
|
||||
inner_qualifier_length = 0;
|
||||
inner_qualifier [inner_qualifier_length] = '\0';
|
||||
}
|
||||
|
||||
/* Actions defined here */
|
||||
|
@ -1144,9 +1144,9 @@ pop_class_context ()
|
||||
&& inner_qualifier [inner_qualifier_length-1] != '$')
|
||||
;
|
||||
inner_qualifier = xrealloc (inner_qualifier, inner_qualifier_length+1);
|
||||
inner_qualifier [inner_qualifier_length] = '\0';
|
||||
if (inner_qualifier_length == -1)
|
||||
inner_qualifier_length = 0;
|
||||
inner_qualifier [inner_qualifier_length] = '\0';
|
||||
}
|
||||
|
||||
/* Actions defined here */
|
||||
|
Loading…
Reference in New Issue
Block a user