File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -471,9 +471,10 @@ $(GNAME ForeachTypeAttributes):
471
471
$(GLINK ForeachTypeAttribute) $(GSELF ForeachTypeAttributes)
472
472
473
473
$(GNAME ForeachTypeAttribute):
474
+ $(D enum)
474
475
$(D ref)
476
+ $(D scope)
475
477
$(GLINK2 type, TypeCtor)
476
- $(D enum)
477
478
478
479
$(GNAME ForeachAggregate):
479
480
$(EXPRESSION)
488
489
At the start of each iteration, the variables declared by
489
490
the $(I ForeachTypeList)
490
491
are set to be a copy of the elements of the aggregate.
491
- If the variable is $(D ref), it is a reference to the
492
+ If the $(I ForeachTypeAttribute) is $(D ref), it is a reference to the
492
493
contents of that aggregate.
494
+ If the $(I ForeachTypeAttribute) is $(D scope), the $(I ForeachType) declaration
495
+ will have $(D scope) semantics.
493
496
)
494
497
$(P
495
498
The aggregate must be loop invariant, meaning that
You can’t perform that action at this time.
0 commit comments