Skip to content

Commit 8eb4c9c

Browse files
CyberShadowGeod24
authored andcommitted
spec/function.dd: Make VariadicArgumentsAttributes optional in ParameterList
const / shared / etc. are allowed before "...", but not required.
1 parent 947057e commit 8eb4c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/function.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $(GNAME ParameterList):
3434
$(GLINK Parameter)
3535
$(GLINK Parameter) $(D ,)
3636
$(GLINK Parameter) $(D ,) $(GSELF ParameterList)
37-
$(GLINK VariadicArgumentsAttributes) $(D ...)
37+
$(GLINK VariadicArgumentsAttributes)$(OPT) $(D ...)
3838

3939
$(GNAME Parameter):
4040
$(GLINK ParameterAttributes)$(OPT) $(GLINK2 type, BasicType) $(GLINK2 declaration, Declarator)

0 commit comments

Comments
 (0)