Skip to content

Commit

Permalink
Issue 15666
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackerpilot committed Feb 10, 2016
1 parent a34cd8e commit 2bff38b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions spec/class.dd
Expand Up @@ -663,8 +663,8 @@ $(H3 $(LNAME2 static-constructor, Static Constructors))

$(GRAMMAR
$(GNAME StaticConstructor):
$(D static this ( )) $(D ;)
$(D static this ( )) $(GLINK2 function, FunctionBody)
$(D static this ( )) $(GLINK2 function, MemberFunctionAttributes)$(OPT) $(D ;)
$(D static this ( )) $(GLINK2 function, MemberFunctionAttributes)$(OPT) $(GLINK2 function, FunctionBody)
)

$(P
Expand Down Expand Up @@ -815,8 +815,8 @@ $(H3 Shared Static Constructors)

$(GRAMMAR
$(GNAME SharedStaticConstructor):
$(D shared static this ( )) $(D ;)
$(D shared static this ( )) $(GLINK2 function, FunctionBody)
$(D shared static this ( )) $(GLINK2 function, MemberFunctionAttributes)$(OPT) $(D ;)
$(D shared static this ( )) $(GLINK2 function, MemberFunctionAttributes)$(OPT) $(GLINK2 function, FunctionBody)
)

$(P Shared static constructors are executed before any $(GLINK StaticConstructor)s,
Expand Down
8 changes: 4 additions & 4 deletions spec/grammar.dd
Expand Up @@ -1304,16 +1304,16 @@ $(GNAME UnitTest):

$(GRAMMAR
$(GNAME StaticConstructor):
$(D static this ( )) $(D ;)
$(D static this ( )) $(GLINK FunctionBody)
$(D static this ( )) $(GLINK MemberFunctionAttributes)$(OPT) $(D ;)
$(D static this ( )) $(GLINK MemberFunctionAttributes)$(OPT) $(GLINK FunctionBody)

$(GNAME StaticDestructor):
$(D static ~ this ( )) $(GLINK MemberFunctionAttributes)$(OPT) $(D ;)
$(D static ~ this ( )) $(GLINK MemberFunctionAttributes)$(OPT) $(GLINK FunctionBody)

$(GNAME SharedStaticConstructor):
$(D shared static this ( )) $(D ;)
$(D shared static this ( )) $(GLINK FunctionBody)
$(D shared static this ( )) $(GLINK MemberFunctionAttributes)$(OPT) $(D ;)
$(D shared static this ( )) $(GLINK MemberFunctionAttributes)$(OPT) $(GLINK FunctionBody)

$(GNAME SharedStaticDestructor):
$(D shared static ~ this ( )) $(GLINK MemberFunctionAttributes)$(OPT) $(D ;)
Expand Down

0 comments on commit 2bff38b

Please sign in to comment.