CPP: Consistency changes suggested by Dave.

This commit is contained in:
Geoffrey White
2019-02-05 11:27:08 +00:00
parent b1bf1b8f1c
commit e55dc43111

View File

@@ -1497,8 +1497,9 @@ new_array_allocated_type(
* The field being initialized by an initializer expression within an aggregate
* initializer for a class/struct/union.
*/
#keyset[aggregate, field]
aggregate_field_init(
unique int aggregate: @aggregateliteral ref,
int aggregate: @aggregateliteral ref,
int initializer: @expr ref,
int field: @membervariable ref
);
@@ -1507,8 +1508,9 @@ aggregate_field_init(
* The index of the element being initialized by an initializer expression
* within an aggregate initializer for an array.
*/
#keyset[aggregate, element_index]
aggregate_array_init(
unique int aggregate: @aggregateliteral ref,
int aggregate: @aggregateliteral ref,
int initializer: @expr ref,
int element_index: int ref
);