Skip to content

Commit

Permalink
Issue 13979 - ForeachType grammar does not allow 'ref' to appear afte…
Browse files Browse the repository at this point in the history
…r type constructors
  • Loading branch information
Hackerpilot committed Jan 16, 2015
1 parent 09ca1fe commit ccd33d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grammar.dd
Expand Up @@ -658,7 +658,9 @@ $(GNAME ForeachTypeList):

$(GNAME ForeachType):
$(D ref)$(OPT) $(GLINK TypeCtors)$(OPT) $(GLINK BasicType) $(GLINK Declarator)
$(GLINK TypeCtors)$(OPT) $(D ref)$(OPT) $(GLINK BasicType) $(GLINK Declarator)
$(D ref)$(OPT) $(GLINK TypeCtors)$(OPT) $(I Identifier)
$(GLINK TypeCtors)$(OPT) $(D ref)$(OPT) $(I Identifier)

$(GNAME ForeachAggregate):
$(EXPRESSION)
Expand Down
2 changes: 2 additions & 0 deletions statement.dd
Expand Up @@ -427,7 +427,9 @@ $(GNAME ForeachTypeList):

$(GNAME ForeachType):
$(D ref)$(OPT) $(GLINK2 declaration, TypeCtors)$(OPT) $(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator)
$(GLINK2 declaration, TypeCtors)$(OPT) $(D ref)$(OPT) $(GLINK2 declaration, BasicType) $(GLINK2 declaration, Declarator)
$(D ref)$(OPT) $(GLINK2 declaration, TypeCtors)$(OPT) $(I Identifier)
$(GLINK2 declaration, TypeCtors)$(OPT) $(D ref)$(OPT) $(I Identifier)

$(GNAME ForeachAggregate):
$(EXPRESSION)
Expand Down

0 comments on commit ccd33d8

Please sign in to comment.