re GNATS gcj/235 (source parser dies when Primitive.TYPE is used in an array declaration)
* parse.y (array_constructor_check_entry): Pass `wfl_value', not `wfl_operator', to maybe_build_primttype_type_ref. Fixes PR gcj/235. From-SVN: r34181
This commit is contained in:
parent
887418182a
commit
b8c5b1c6d5
@ -1,3 +1,9 @@
|
||||
2000-05-25 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* parse.y (array_constructor_check_entry): Pass `wfl_value', not
|
||||
`wfl_operator', to maybe_build_primttype_type_ref.
|
||||
Fixes PR gcj/235.
|
||||
|
||||
2000-05-01 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* parse.y (resolve_package): Correctly set `*next' (was off by
|
||||
|
@ -16129,7 +16129,7 @@ array_constructor_check_entry (type, entry)
|
||||
|
||||
if (new_value)
|
||||
{
|
||||
new_value = maybe_build_primttype_type_ref (new_value, wfl_operator);
|
||||
new_value = maybe_build_primttype_type_ref (new_value, wfl_value);
|
||||
TREE_VALUE (entry) = new_value;
|
||||
}
|
||||
|
||||
|
@ -13497,7 +13497,7 @@ array_constructor_check_entry (type, entry)
|
||||
|
||||
if (new_value)
|
||||
{
|
||||
new_value = maybe_build_primttype_type_ref (new_value, wfl_operator);
|
||||
new_value = maybe_build_primttype_type_ref (new_value, wfl_value);
|
||||
TREE_VALUE (entry) = new_value;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user